Hi,
We are trying to use the new rollup feature.
trigger_count
increases with time, but others metrics are sticking to 0, and the index remain empty.
Are we missing something?
Thanks !
PUT _xpack/rollup/job/testrollup
{
"index_pattern": "dailyindex_539_*",
"rollup_index": "test-rollup",
"cron": "*/30 * * * * ?",
"page_size": 1000,
"groups": {
"date_histogram": {
"field": "@timestamp",
"interval": "1m"
}
},
"metrics": [
{
"field": "responsetime",
"metrics": [
"min",
"max",
"sum"
]
}
]
}
POST _xpack/rollup/job/testrollup/_start
GET _xpack/rollup/job/_all
{
"jobs": [
{
"config": {
"id": "testrollup",
"index_pattern": "dailyindex_539_*",
"rollup_index": "test-rollup",
"cron": "*/30 * * * * ?",
"groups": {
"date_histogram": {
"interval": "1m",
"field": "@timestamp",
"time_zone": "UTC"
}
},
"metrics": [
{
"field": "responsetime",
"metrics": [
"min",
"max",
"sum"
]
}
],
"timeout": "20s",
"page_size": 1000
},
"status": {
"job_state": "started"
},
"stats": {
"pages_processed": 0,
"documents_processed": 0,
"rollups_indexed": 0,
"trigger_count": 424
}
}
]
}
And rollup index remain empty
GET _cat/indices/test-rollup,dailyindex_539_*?v
health status index uuid pri rep docs.count docs.deleted store.size pri.store.size
green open dailyindex_539_2018-08-23 rm-eGdpZRrqp6Wa-PEmHqA 3 1 6427212 0 6.7gb 3.3gb
green open test-rollup lOPCzTGIQEunDvW2YlYUTA 5 1 0 0 2.5kb 1.2kb