Class EsqlLoggingConfig
java.lang.Object
co.elastic.clients.elasticsearch.xpack.usage.EsqlLoggingConfig
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<EsqlLoggingConfig>Json deserializer forEsqlLoggingConfig -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanenabled()Required - Whether ES|QL query logging is enabled.static EsqlLoggingConfigrebuild()voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidThe configured logging thresholds, keyed by threshold name, if any.toString()final booleanuser()Required - Whether user information is included in the ES|QL query log.
-
Field Details
-
_DESERIALIZER
Json deserializer forEsqlLoggingConfig
-
-
Method Details
-
of
public static EsqlLoggingConfig of(Function<EsqlLoggingConfig.Builder, ObjectBuilder<EsqlLoggingConfig>> fn) -
enabled
public final boolean enabled()Required - Whether ES|QL query logging is enabled.API name:
enabled -
user
public final boolean user()Required - Whether user information is included in the ES|QL query log.API name:
user -
thresholds
The configured logging thresholds, keyed by threshold name, if any.API name:
thresholds -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
rebuild
- Returns:
- New
EsqlLoggingConfig.Builderinitialized with field values of this instance
-
setupEsqlLoggingConfigDeserializer
protected static void setupEsqlLoggingConfigDeserializer(ObjectDeserializer<EsqlLoggingConfig.Builder> op)
-