# Kibana/Metricbeat Visualization Errors (Too Many Records?)

**URL:** <https://discuss.elastic.co/t/kibana-metricbeat-visualization-errors-too-many-records/137833>\
**Category:** Kibana\
**Created:** [June 28, 2018, 4:47pm UTC](https://discuss.elastic.co/t/kibana-metricbeat-visualization-errors-too-many-records/137833 "2018-06-28T16:47:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![brolo](https://avatars.discourse-cdn.com/v4/letter/b/e8c25b/32.png) [@brolo](https://discuss.elastic.co/u/brolo)\
**Post date:** [June 28, 2018, 4:47pm UTC](https://discuss.elastic.co/t/kibana-metricbeat-visualization-errors-too-many-records/137833/1 "2018-06-28T16:47:47Z")

</div>

I am noticing a lot of performance issues in Kibana with our Metricbeat metrics. We have 150 servers sending metric data and there are currently 375 million records in our Metricbeat index.

I reduced the frequency of the metrics from 10s to 30s in the Metricbeat config file, but I am not sure how to handle the 400 million records already in the index. None of the Metricbeat visualizations seem to load and I get "Discover: Gateway timeout" and "Metrics: error" errors. How should I proceed to fix the performance issues?

---

<div class="post-metadata">

**Author:** ![jbudz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jbudz/32/45922_2.png) [@jbudz](https://discuss.elastic.co/u/jbudz)\
**Post date:** [June 28, 2018, 7:42pm UTC](https://discuss.elastic.co/t/kibana-metricbeat-visualization-errors-too-many-records/137833/2 "2018-06-28T19:42:21Z")

</div>

Can you share a little more info about your index setup? A lot of this depends on how the data is sharded.

It's common to use a new index per day with metricbeat:

```auto
output.elasticsearch.index: metricbeat-%{[beat.version]}-%{+yyyy.MM.dd}

```

Elasticsearch knows to only search indices that have timestamps within the time range. Daily indices make it handy for archiving too. If you're already doing this, is there a time range you're comfortable with limiting search results to?

---

<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 26, 2018, 7:42pm UTC](https://discuss.elastic.co/t/kibana-metricbeat-visualization-errors-too-many-records/137833/3 "2018-07-26T19:42:22Z")

</div>

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