Class EsqlQueryLog
java.lang.Object
org.elasticsearch.xpack.esql.querylog.EsqlQueryLog
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEsqlQueryLog(ClusterSettings settings, SlowLogFieldProvider slowLogFieldProvider) -
Method Summary
Modifier and TypeMethodDescriptionvoidonQueryFailure(String query, Exception ex, long tookInNanos) voidonQueryPhase(Result esqlResult, String query) voidsetIncludeUser(boolean includeUser) 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_PLANNING_TOOK
- See Also:
-
ELASTICSEARCH_QUERYLOG_PLANNING_TOOK_MILLIS
- 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) -
setIncludeUser
public void setIncludeUser(boolean includeUser)
-