Retrieves the configuration, stats, and status of rollup jobs Technical preview
Path parameters
-
Identifier for the rollup job. If it is
_all
or omitted, the API returns all rollup jobs.
GET /_rollup/job/{id}
curl \
-X GET http://api.example.com/_rollup/job/{id}
Response examples (200)
{
"jobs": [
{
"config": {
"cron": "string",
"groups": {
"date_histogram": {
"delay": "string",
"field": "string",
"format": "string",
"interval": "string",
"calendar_interval": "string",
"fixed_interval": "string",
"time_zone": "string"
},
"histogram": {
"fields": "string",
"interval": 42.0
},
"terms": {
"fields": "string"
}
},
"id": "string",
"index_pattern": "string",
"metrics": [
{
"field": "string",
"metrics": [
"min"
]
}
],
"page_size": 42.0,
"rollup_index": "string",
"timeout": "string"
},
"stats": {
"documents_processed": 42.0,
"index_failures": 42.0,
"": 42.0,
"index_total": 42.0,
"pages_processed": 42.0,
"rollups_indexed": 42.0,
"search_failures": 42.0,
"search_total": 42.0,
"trigger_count": 42.0,
"processing_total": 42.0
},
"status": {
"current_position": {
"additionalProperty1": {},
"additionalProperty2": {}
},
"job_state": "started",
"upgraded_doc_id": true
}
}
]
}