# Rollup Job rolls only to Page\_Size

**URL:** <https://discuss.elastic.co/t/rollup-job-rolls-only-to-page-size/185014>\
**Category:** Elasticsearch\
**Created:** [June 10, 2019, 3:40pm UTC](https://discuss.elastic.co/t/rollup-job-rolls-only-to-page-size/185014 "2019-06-10T15:40:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zstekel](https://avatars.discourse-cdn.com/v4/letter/z/c67d28/32.png) [@zstekel](https://discuss.elastic.co/u/zstekel)\
**Post date:** [June 10, 2019, 3:40pm UTC](https://discuss.elastic.co/t/rollup-job-rolls-only-to-page-size/185014/1 "2019-06-10T15:40:49Z")

</div>

I'm running a 7 node cluster on 6.6.0 basic license and am trying to create a rollup job. The rollup job that I create seems to only create as many documents as the page\_size variable. So if I have my page\_size set to 1100, it will trigger the first time and roll into 1100 documents and then all triggers that follow don't appear to do anything. I checked all 7 nodes' elastic logs and see nothing that looks like an error. Am I doing something wrong? This is my rollup job's json:

{  
"config": {  
"id": "MetricBeatRollup",  
"index\_pattern": "metricbeat-\*",  
"rollup\_index": "rolled-metricbeat",  
"cron": "0 5 0 \* \* ?",  
"groups": {  
"date\_histogram": {  
"interval": "60m",  
"field": "@timestamp",  
"delay": "1d",  
"time\_zone": "UTC"  
},  
"terms": {  
"fields": [  
"fields.env.keyword",  
"fields.app\_server",  
"fields.type.keyword",  
"fields.group",  
"fields.machine\_use",  
"event.dataset.keyword",  
"host.name.keyword",  
"windows.perfmon.instance\_name.keyword",  
"system.diskio.name",  
"metricset.name.keyword",  
"measurement.keyword",  
"perfmon\_name"  
]  
}  
},  
"metrics": [  
{  
"field": "system.network.in.bytes",  
"metrics": [  
"avg",  
"value\_count"  
]  
},  
{  
"field": "system.network.out.bytes",  
"metrics": [  
"avg",  
"value\_count"  
]  
},  
{  
"field": "system.process.summary.running",  
"metrics": [  
"avg",  
"value\_count"  
]  
},  
{  
"field": "system.memory.used.pct",  
"metrics": [  
"avg",  
"value\_count"  
]  
},  
{  
"field": "system.cpu.total.norm.pct",  
"metrics": [  
"avg",  
"value\_count"  
]  
},  
{  
"field": "value",  
"metrics": [  
"avg",  
"value\_count"  
]  
},  
{  
"field": "system.diskio.read.bytes",  
"metrics": [  
"avg",  
"value\_count"  
]  
},  
{  
"field": "system.diskio.write.bytes",  
"metrics": [  
"avg",  
"value\_count"  
]  
}  
],  
"timeout": "20s",  
"page\_size": 1000  
},  
"status": {  
"job\_state": "started",  
"current\_position": {  
"@timestamp.date\_histogram": 1551150000000,  
"event.dataset.keyword.terms": null,  
"fields.app\_server.terms": "ptc\_app\_server",  
"fields.env.keyword.terms": null,  
"fields.group.terms": null,  
"fields.machine\_use.terms": null,  
"fields.type.keyword.terms": null,  
"host.name.keyword.terms": null,  
"measurement.keyword.terms": null,  
"metricset.name.keyword.terms": null,  
"perfmon\_name.terms": null,  
"system.diskio.name.terms": null,  
"windows.perfmon.instance\_name.keyword.terms": null  
},  
"upgraded\_doc\_id": true  
},  
"stats": {  
"pages\_processed": 1,  
"documents\_processed": 3374279,  
"rollups\_indexed": 1000,  
"trigger\_count": 6,  
"index\_time\_in\_ms": 2544,  
"index\_total": 1,  
"index\_failures": 0,  
"search\_time\_in\_ms": 166668,  
"search\_total": 7,  
"search\_failures": 6  
}  
}

---

<div class="post-metadata">

**Author:** ![zstekel](https://avatars.discourse-cdn.com/v4/letter/z/c67d28/32.png) [@zstekel](https://discuss.elastic.co/u/zstekel)\
**Post date:** [June 12, 2019, 2:28pm UTC](https://discuss.elastic.co/t/rollup-job-rolls-only-to-page-size/185014/2 "2019-06-12T14:28:08Z")

</div>

I've also had this cluster stable for months and since trying to get the rollup job working I've been having nodes crash, so suspecting it is still trying to run at each trigger.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 10, 2019, 2:28pm UTC](https://discuss.elastic.co/t/rollup-job-rolls-only-to-page-size/185014/3 "2019-07-10T14:28:34Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
