Get the rollup job capabilities

  • GET /_rollup/data/{id}
  • GET /_rollup/data
Auth Deprecated

Get the capabilities of any rollup jobs that have been configured for a specific index or index pattern.

This API is useful because a rollup job is often configured to rollup only a subset of fields from the source index. Furthermore, only certain aggregations can be configured for various fields, leading to a limited subset of functionality depending on that configuration. This API enables you to inspect an index and determine:

  1. Does this index have associated rollup data somewhere in the cluster?
  2. If yes to the first question, what fields were rolled up, what aggregations can be performed, and where does the data live?

Required authorization

Cluster privileges monitor_rollup

Path parameters

id string optional

Index, indices or index-pattern to return rollup capabilities for. _all may be used to fetch rollup capabilities from all jobs.

Leave it out to use /_rollup/data.

Response

application/json
<string> object
rollup_jobs object[] required

There can be multiple, independent jobs configured for a single index or index pattern. Each of these jobs may have different configurations, so the API returns a list of all the various configurations available.

fields map string to object required
index_pattern string required
job_id string required
rollup_index string required