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(org.elasticsearch.core.TimeValue queryDebugThreshold) voidsetQueryInfoThreshold(org.elasticsearch.core.TimeValue queryInfoThreshold) voidsetQueryTraceThreshold(org.elasticsearch.core.TimeValue queryTraceThreshold) voidsetQueryWarnThreshold(org.elasticsearch.core.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:
-
-
Constructor Details
-
EsqlQueryLog
-
-
Method Details
-
onQueryPhase
-
onQueryFailure
-
setQueryWarnThreshold
public void setQueryWarnThreshold(org.elasticsearch.core.TimeValue queryWarnThreshold) -
setQueryInfoThreshold
public void setQueryInfoThreshold(org.elasticsearch.core.TimeValue queryInfoThreshold) -
setQueryDebugThreshold
public void setQueryDebugThreshold(org.elasticsearch.core.TimeValue queryDebugThreshold) -
setQueryTraceThreshold
public void setQueryTraceThreshold(org.elasticsearch.core.TimeValue queryTraceThreshold)
-