Module org.elasticsearch.server
Class PutSampleConfigurationAction
java.lang.Object
org.elasticsearch.action.ActionType<AcknowledgedResponse>
org.elasticsearch.action.admin.indices.sampling.PutSampleConfigurationAction
Action for configuring sampling settings on indices.
This action allows administrators to configure sampling parameters for one or more indices, including sampling rate, maximum number of samples, maximum size constraints, time-to-live settings, and conditional sampling criteria.
The action name is "indices:admin/sample/config/update" and it returns an AcknowledgedResponse
to indicate whether the configuration was successfully applied.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classRequest class for configuring sampling settings on indices. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PutSampleConfigurationActionSingleton instance of this action type.static final StringThe action name used to identify this action in the transport layer. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new PutSampleConfigurationAction with the predefined action name. -
Method Summary
-
Field Details
-
NAME
The action name used to identify this action in the transport layer.- See Also:
-
INSTANCE
Singleton instance of this action type.
-
-
Constructor Details
-
PutSampleConfigurationAction
public PutSampleConfigurationAction()Constructs a new PutSampleConfigurationAction with the predefined action name.
-