public interface QueryLogging
Constants specific to logging queries - DSL search, ESQL, etc.
  • Field Details

    • ES_QUERY_FIELDS_PREFIX

      static final String ES_QUERY_FIELDS_PREFIX
      This is the prefix for all query logging specific fields.
      See Also:
    • QUERY_FIELD_QUERY

      static final String QUERY_FIELD_QUERY
      Query text.
      See Also:
    • QUERY_FIELD_RESULT_COUNT

      static final String QUERY_FIELD_RESULT_COUNT
      How many results the search or query actually returned.
      See Also:
    • QUERY_FIELD_INDICES

      static final String QUERY_FIELD_INDICES
      Which indices were queried. May not apply to some modules like ESQL or SQL.
      See Also:
    • QUERY_FIELD_SHARDS

      static final String QUERY_FIELD_SHARDS
      Shard stats information - successful, skipped, failed.
      See Also:
    • QUERY_FIELD_IS_SYSTEM

      static final String QUERY_FIELD_IS_SYSTEM
      Is this search only targeting system indices?
      See Also:
    • QUERY_LOGGER_NAME

      static final String QUERY_LOGGER_NAME
      This is the name Log4j logger will use.
      See Also:
    • QUERY_FIELD_IS_REMOTE

      static final String QUERY_FIELD_IS_REMOTE
      Did this query come from another cluster?
      See Also:
    • QUERY_FIELD_REMOTE_STATUS

      static final String QUERY_FIELD_REMOTE_STATUS
      Counts of the statuses of the clusters - successful, skipped, failed, etc.
      See Also:
    • QUERY_FIELD_REMOTE_COUNT

      static final String QUERY_FIELD_REMOTE_COUNT
      How many remote clusters were involved in this query?
      See Also:
    • QUERY_FIELD_REMOTES

      static final String QUERY_FIELD_REMOTES
      List of remote clusters involved in this query.
      See Also: