Get the rollup job capabilities Technical preview
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?
Path parameters
-
Index, indices or index-pattern to return rollup capabilities for.
_all
may be used to fetch rollup capabilities from all jobs.
GET
/_rollup/data/{id}
curl \
-X GET http://api.example.com/_rollup/data/{id}
Response examples (200)
{
"additionalProperty1": {
"rollup_jobs": [
{
"fields": {
"additionalProperty1": [
{}
],
"additionalProperty2": [
{}
]
},
"index_pattern": "string",
"job_id": "string",
"rollup_index": "string"
}
]
},
"additionalProperty2": {
"rollup_jobs": [
{
"fields": {
"additionalProperty1": [
{}
],
"additionalProperty2": [
{}
]
},
"index_pattern": "string",
"job_id": "string",
"rollup_index": "string"
}
]
}
}