Get rollup job information Technical preview
Get the configuration, stats, and status of rollup jobs.
NOTE: This API returns only active (both STARTED
and STOPPED
) jobs.
If a job was created, ran for a while, then was deleted, the API does not return any details about it.
For details about a historical rollup job, the rollup capabilities API may be more useful.
GET
/_rollup/job
curl \
-X GET http://api.example.com/_rollup/job
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
}
}
]
}