Interface KibanaLogField

All Known Implementing Classes:
AutoCloseableKibanaLogField, KibanaLogFieldNames, OidcKibanaLogFieldNames

public interface KibanaLogField
Interface that allows client projects to use their own log fields.
Since:
2.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the name with which this field will appear in the log.
    default boolean
    Check if a key matches.
  • Method Details

    • getLogName

      String getLogName()
      Get the name with which this field will appear in the log.
      Returns:
      the log name of the field
    • matches

      default boolean matches(String key)
      Check if a key matches.
      Parameters:
      key - the key to match
      Returns:
      true if not null and if the supplied key equals this key.