Module org.elasticsearch.server
Interface QueryLogging
public interface QueryLogging
Constants specific to logging queries - DSL search, ESQL, etc.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThis is the prefix for all query logging specific fields.static final StringWhich indices were queried.static final StringDid this query come from another cluster?static final StringIs this search only targeting system indices?static final StringQuery text.static final StringHow many remote clusters were involved in this query?static final StringCounts of the statuses of the clusters - successful, skipped, failed, etc.static final StringList of remote clusters involved in this query.static final StringHow many results the search or query actually returned.static final StringShard stats information - successful, skipped, failed.static final StringThis is the name Log4j logger will use.
-
Field Details
-
ES_QUERY_FIELDS_PREFIX
This is the prefix for all query logging specific fields.- See Also:
-
QUERY_FIELD_QUERY
Query text.- See Also:
-
QUERY_FIELD_RESULT_COUNT
How many results the search or query actually returned.- See Also:
-
QUERY_FIELD_INDICES
Which indices were queried. May not apply to some modules like ESQL or SQL.- See Also:
-
QUERY_FIELD_SHARDS
Shard stats information - successful, skipped, failed.- See Also:
-
QUERY_FIELD_IS_SYSTEM
Is this search only targeting system indices?- See Also:
-
QUERY_LOGGER_NAME
This is the name Log4j logger will use.- See Also:
-
QUERY_FIELD_IS_REMOTE
Did this query come from another cluster?- See Also:
-
QUERY_FIELD_REMOTE_STATUS
Counts of the statuses of the clusters - successful, skipped, failed, etc.- See Also:
-
QUERY_FIELD_REMOTE_COUNT
How many remote clusters were involved in this query?- See Also:
-
QUERY_FIELD_REMOTES
List of remote clusters involved in this query.- See Also:
-