Class RestGetAllSampleConfigurationAction

java.lang.Object
org.elasticsearch.rest.BaseRestHandler
org.elasticsearch.action.admin.indices.sampling.RestGetAllSampleConfigurationAction
All Implemented Interfaces:
RestHandler

public class RestGetAllSampleConfigurationAction extends BaseRestHandler
REST action for getting all sampling configurations for indices.

Handles GET requests to /_sample/config endpoint and delegates to the GetAllSampleConfigurationAction transport action.

Example usage:

GET /_sample/config returns [ { "index": "logs", "configuration": { "rate": ".5", "if": "ctx?.network?.name == 'Guest'" } }, { "index": "logsTwo", "configuration": { "rate": ".75" } }, ]
  • Constructor Details

    • RestGetAllSampleConfigurationAction

      public RestGetAllSampleConfigurationAction()
  • Method Details