Sure, so I have a few indices which store historical data. Those indices name start with datalog.gl_* (for eg: datalog.gl_sep20). I then create the rollup job through this:
curl -X PUT "localhost:9200/_rollup/job/compress?pretty" -H 'Content-Type: application/json' -d'
{
"index_pattern": "datalog.gl_*",
"rollup_index": "datalog_rollup",
"cron": "0 */60 * * * ?",
"page_size": 1000,
"groups": {
"date_histogram": {
"field": "time",
"fixed_interval": "24h"
},
"terms": {
"fields": [ "domain" ]
}
}
}
'
However when I try to start the rollup job through curl -X POST "localhost:9200/_rollup/job/compress/_start?pretty", there is an error saying resource not found task for rollup job not found.