Module org.elasticsearch.server
Class GetSampleConfigurationAction
java.lang.Object
org.elasticsearch.action.ActionType<GetSampleConfigurationAction.Response>
org.elasticsearch.action.admin.indices.sampling.GetSampleConfigurationAction
Action type for retrieving sampling configuration for a specific index.
This action allows clients to get the current sampling configuration that has been set on a specific index. This action targets a single index and returns its configuration in a structured format.
The response format matches:
{
"index": "logs",
"configuration": {
"rate": ".5",
"if": "ctx?.network?.name == 'Guest'"
}
}
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classRequest object for getting the sampling configuration of a specific index.static classResponse object containing the sampling configuration for a specific index. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GetSampleConfigurationActionSingleton instance of the GetSampleConfigurationAction.static final StringThe name identifier for this action type used in the transport layer. -
Method Summary
-
Field Details
-
INSTANCE
Singleton instance of the GetSampleConfigurationAction. This provides a shared reference to the action type throughout the application. -
NAME
The name identifier for this action type used in the transport layer.- See Also:
-