Module org.elasticsearch.server
Class GetAllSampleConfigurationAction
java.lang.Object
org.elasticsearch.action.ActionType<GetAllSampleConfigurationAction.Response>
org.elasticsearch.action.admin.indices.sampling.GetAllSampleConfigurationAction
public class GetAllSampleConfigurationAction
extends ActionType<GetAllSampleConfigurationAction.Response>
Action type for retrieving all sampling configurations for cluster indices.
This action allows clients to get all sampling configurations that have been set. This action targets all indices and returns any existing configurations in a structured format.
The response format matches:
[
{
"index": "logs",
"configuration": {
"rate": ".5",
"if": "ctx?.network?.name == 'Guest'"
}
},
{
"index": "logsTwo",
"configuration": {
"rate": ".75"
}
},
]
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classRequest object for getting all sampling configurations in a cluster.static classResponse object containing an index to sampling configuration map. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GetAllSampleConfigurationActionSingleton instance of the GetAllSampleConfigurationAction.static final StringThe name identifier for this action type used in the transport layer. -
Method Summary
-
Field Details
-
INSTANCE
Singleton instance of the GetAllSampleConfigurationAction. 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:
-