Interface SlowLogFieldProvider


public interface SlowLogFieldProvider
Interface for providing additional fields to the slow log from a plugin. Intended to be loaded through SPI.
  • Method Details

    • init

      void init(IndexSettings indexSettings)
      Initialize field provider with index level settings to be able to listen for updates and set initial values
      Parameters:
      indexSettings - settings for the index
    • indexSlowLogFields

      Map<String,String> indexSlowLogFields()
      Slow log fields for indexing events
      Returns:
      map of field name to value
    • searchSlowLogFields

      Map<String,String> searchSlowLogFields()
      Slow log fields for search events
      Returns:
      map of field name to value