Class EsqlQueryLog
java.lang.Object
org.elasticsearch.xpack.esql.querylog.EsqlQueryLog
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEsqlQueryLog(ClusterSettings settings, ActionLoggingFieldsProvider loggingFieldsProvider) -
Method Summary
Modifier and TypeMethodDescriptionvoidonQueryFailure(String query, Exception ex, long tookInNanos) voidonQueryPhase(Versioned<Result> esqlResult, String query) voidsetQueryDebugThreshold(TimeValue queryDebugThreshold) voidsetQueryInfoThreshold(TimeValue queryInfoThreshold) voidsetQueryTraceThreshold(TimeValue queryTraceThreshold) voidsetQueryWarnThreshold(TimeValue queryWarnThreshold)
-
Field Details
-
ELASTICSEARCH_QUERYLOG_PREFIX
- See Also:
-
ELASTICSEARCH_QUERYLOG_ERROR_MESSAGE
- See Also:
-
ELASTICSEARCH_QUERYLOG_ERROR_TYPE
- See Also:
-
ELASTICSEARCH_QUERYLOG_TOOK
- See Also:
-
ELASTICSEARCH_QUERYLOG_TOOK_MILLIS
- See Also:
-
ELASTICSEARCH_QUERYLOG_TOOK_SUFFIX
- See Also:
-
ELASTICSEARCH_QUERYLOG_TOOK_MILLIS_SUFFIX
- See Also:
-
ELASTICSEARCH_QUERYLOG_SUCCESS
- See Also:
-
ELASTICSEARCH_QUERYLOG_SEARCH_TYPE
- See Also:
-
ELASTICSEARCH_QUERYLOG_QUERY
- See Also:
-
LOGGER_NAME
- See Also:
-
DEPRECATION_MESSAGE
- See Also:
-
-
Constructor Details
-
EsqlQueryLog
-
-
Method Details
-
onQueryPhase
-
onQueryFailure
-
setQueryWarnThreshold
-
setQueryInfoThreshold
-
setQueryDebugThreshold
-
setQueryTraceThreshold
-