Class PutSampleConfigurationAction

java.lang.Object
org.elasticsearch.action.ActionType<AcknowledgedResponse>
org.elasticsearch.action.admin.indices.sampling.PutSampleConfigurationAction

public class PutSampleConfigurationAction extends ActionType<AcknowledgedResponse>
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.

  • Field Details

  • Constructor Details

    • PutSampleConfigurationAction

      public PutSampleConfigurationAction()
      Constructs a new PutSampleConfigurationAction with the predefined action name.