Get the rollup job capabilities
deprecated
- GET /_rollup/data/{id}
- GET /_rollup/data
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:
- Does this index have associated rollup data somewhere in the cluster?
- If yes to the first question, what fields were rolled up, what aggregations can be performed, and where does the data live?
- Cluster privileges:
monitor_rollup
Path Parameters
-
idstring Idoptional -
Index, indices or index-pattern to return rollup capabilities for.
_allmay be used to fetch rollup capabilities from all jobs.Leave it out to use
/_rollup/data.
Response
application/json
Response Type: map string to RollupCapabilities