# Data in old index has grok working, but new data in old index doesnt

**URL:** <https://discuss.elastic.co/t/data-in-old-index-has-grok-working-but-new-data-in-old-index-doesnt/226135>\
**Category:** Elasticsearch\
**Created:** [April 1, 2020, 11:27pm UTC](https://discuss.elastic.co/t/data-in-old-index-has-grok-working-but-new-data-in-old-index-doesnt/226135 "2020-04-01T23:27:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mehak\_Bhargava](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mehak_bhargava/32/54750_2.png) [@Mehak\_Bhargava](https://discuss.elastic.co/u/Mehak_Bhargava)\
**Post date:** [April 1, 2020, 11:27pm UTC](https://discuss.elastic.co/t/data-in-old-index-has-grok-working-but-new-data-in-old-index-doesnt/226135/1 "2020-04-01T23:27:09Z")

</div>

I created an index 2 days ago, and that has some data in it. The groks were being applied on it and fields created. But now I ran my logstash, filebeat, kibana again with same index named and new data does not have grok applied to it.

But when I set interval of log collected in discover tab,to 48 hours, my index shows fields. But when i set it for today, it doesnt show fields. No changes were made in old index configurations.

---

<div class="post-metadata">

**Author:** ![Mehak\_Bhargava](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mehak_bhargava/32/54750_2.png) [@Mehak\_Bhargava](https://discuss.elastic.co/u/Mehak_Bhargava)\
**Post date:** [April 1, 2020, 11:59pm UTC](https://discuss.elastic.co/t/data-in-old-index-has-grok-working-but-new-data-in-old-index-doesnt/226135/2 "2020-04-01T23:59:39Z")

</div>

@Badger Would you gave an idea why this is happening?

---

<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:** [April 29, 2020, 11:59pm UTC](https://discuss.elastic.co/t/data-in-old-index-has-grok-working-but-new-data-in-old-index-doesnt/226135/3 "2020-04-29T23:59:55Z")

</div>

Closed on April 29, 2020, 11:59pm UTC

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