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:
  • Field Details

    • INSTANCE

      public static final GetAllSampleConfigurationAction INSTANCE
      Singleton instance of the GetAllSampleConfigurationAction. This provides a shared reference to the action type throughout the application.
    • NAME

      public static final String NAME
      The name identifier for this action type used in the transport layer.
      See Also: