# Rollup Index is Empty

**URL:** https://discuss.elastic.co/t/rollup-index-is-empty/159820
**Category:** Elasticsearch
**Created:** [December 6, 2018, 11:58pm UTC](https://discuss.elastic.co/t/rollup-index-is-empty/159820 "2018-12-06T23:58:41Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Supernomad](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/supernomad/32/38540_2.png) [@Supernomad](https://discuss.elastic.co/u/Supernomad)
#### Post date: [December 6, 2018, 11:58pm UTC](https://discuss.elastic.co/t/rollup-index-is-empty/159820/1 "2018-12-06T23:58:41Z")

</div>

I have added a new rollup job:

```auto
{
  "config": {
    "id": "testing-rollups",
    "index_pattern": "metricbeat-*",
    "rollup_index": "rollup-works",
    "cron": "0 * * * * ?",
    "groups": {
      "date_histogram": {
        "interval": "60s",
        "field": "@timestamp",
        "time_zone": "UTC"
      },
      "terms": {
        "fields": [
          "host.name",
          "system.process.name"
        ]
      }
    },
    "metrics": [
      {
        "field": "system.process.cpu.total.pct",
        "metrics": [
          "avg",
          "max",
          "min"
        ]
      },
      {
        "field": "system.process.memory.rss.pct",
        "metrics": [
          "avg",
          "max",
          "min"
        ]
      }
    ],
    "timeout": "20s",
    "page_size": 1000
  },
  "status": {
    "job_state": "started",
    "current_position": {
      "@timestamp.date_histogram": 1544140320000,
      "host.name.terms": "blah.example.com",
      "system.process.name.terms": "proc"
    },
    "upgraded_doc_id": true
  },
  "stats": {
    "pages_processed": 49,
    "documents_processed": 396989,
    "rollups_indexed": 1320,
    "trigger_count": 24
  }
}

```

However the index `rollup-works` is empty even though the above job is clearly stating `"rollups_indexed": 1320`. Am I doing something wrong here?

 ![Screenshot%20from%202018-12-06%2018-57-54](https://us1.discourse-cdn.com/elastic/original/3X/6/c/6cfcfe6d111bda61e08bee940b32c11c03aef740.png)

The job itself appears sound and there are no errors I can see in the logs. Any guidance?

As an aside I am using:  
Elasticsearch: 6.5.1  
Kibana: 6.5.2

---

<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: [January 3, 2019, 11:58pm UTC](https://discuss.elastic.co/t/rollup-index-is-empty/159820/2 "2019-01-03T23:58:42Z")

</div>

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