# JSON Filter works but filter refresh doesn't fix cache mapping error

**URL:** <https://discuss.elastic.co/t/json-filter-works-but-filter-refresh-doesnt-fix-cache-mapping-error/304708>\
**Category:** Kibana\
**Created:** [May 13, 2022, 6:21pm UTC](https://discuss.elastic.co/t/json-filter-works-but-filter-refresh-doesnt-fix-cache-mapping-error/304708 "2022-05-13T18:21:50Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jim\_Thunder](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jim_thunder/32/45439_2.png) [@Jim\_Thunder](https://discuss.elastic.co/u/Jim_Thunder)\
**Post date:** [May 13, 2022, 6:21pm UTC](https://discuss.elastic.co/t/json-filter-works-but-filter-refresh-doesnt-fix-cache-mapping-error/304708/1 "2022-05-13T18:21:50Z")

</div>

Hello, I have JSON messages coming to logstash and they are getting parsed properly, however, I get the error message "no cache mapping, refresh index field list". I have done this multiple times but the error does not go away and the index does not show the new fields from the JSON messages. Any idea what's wrong?

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/0/a05daf3742c25ff54031696ca2a038a1096c775a.png)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/3/9/3949ce6af096c350051beb205d1c87ab1ed30b15.png)

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [May 13, 2022, 6:43pm UTC](https://discuss.elastic.co/t/json-filter-works-but-filter-refresh-doesnt-fix-cache-mapping-error/304708/2 "2022-05-13T18:43:16Z")

</div>

> [@Jim\_Thunder](#):
>
> no cache mapping, refresh index field list

That is really a Kibana question. Does [this](https://discuss.elastic.co/t/no-cached-mapping-for-this-field/99889) help?

---

<div class="post-metadata">

**Author:** ![Jim\_Thunder](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jim_thunder/32/45439_2.png) [@Jim\_Thunder](https://discuss.elastic.co/u/Jim_Thunder)\
**Post date:** [May 13, 2022, 7:03pm UTC](https://discuss.elastic.co/t/json-filter-works-but-filter-refresh-doesnt-fix-cache-mapping-error/304708/3 "2022-05-13T19:03:26Z")

</div>

Should I repost with Kibana tag?

And no I've done that a few times already. Doesn't do anything.

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [May 13, 2022, 7:42pm UTC](https://discuss.elastic.co/t/json-filter-works-but-filter-refresh-doesnt-fix-cache-mapping-error/304708/4 "2022-05-13T19:42:43Z")

</div>

> [@Jim\_Thunder](#):
>
> Should I repost with Kibana tag?

I believe you should be able to move it to that forum.

---

<div class="post-metadata">

**Author:** ![Jim\_Thunder](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jim_thunder/32/45439_2.png) [@Jim\_Thunder](https://discuss.elastic.co/u/Jim_Thunder)\
**Post date:** [May 13, 2022, 7:57pm UTC](https://discuss.elastic.co/t/json-filter-works-but-filter-refresh-doesnt-fix-cache-mapping-error/304708/5 "2022-05-13T19:57:46Z")

</div>

Done

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [May 14, 2022, 4:28pm UTC](https://discuss.elastic.co/t/json-filter-works-but-filter-refresh-doesnt-fix-cache-mapping-error/304708/6 "2022-05-14T16:28:17Z")

</div>

What version of Elasticsearch and Kibana?

Some behaviors have changed over recent releases.

On older versions you have to go to Kibana stack management, index patterns and manually refresh the index pattern.

Then go back to Discover and do a full reload of the Discover page because the field mappings for Discover were cacged locally.

Then the new fields would show up.

In newer versions that shouldn't be the case.

---

<div class="post-metadata">

**Author:** ![Jim\_Thunder](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jim_thunder/32/45439_2.png) [@Jim\_Thunder](https://discuss.elastic.co/u/Jim_Thunder)\
**Post date:** [May 16, 2022, 1:28pm UTC](https://discuss.elastic.co/t/json-filter-works-but-filter-refresh-doesnt-fix-cache-mapping-error/304708/7 "2022-05-16T13:28:54Z")

</div>

I believe it's 7.10.2.

I've done exactly that and I still get the error.

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [May 16, 2022, 2:26pm UTC](https://discuss.elastic.co/t/json-filter-works-but-filter-refresh-doesnt-fix-cache-mapping-error/304708/8 "2022-05-16T14:26:13Z")

</div>

You can check the exact version number under Kibana - Stack Management.

Also when you go to Kibana - stack management - index pattern and look at that exact index pattern and then refresh it or even recreate it. Then search for those fields in the index pattern. What do you see?

You should see them saying that they're searchable and aggregatable.

You need to confirm that first

---

<div class="post-metadata">

**Author:** ![Jim\_Thunder](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jim_thunder/32/45439_2.png) [@Jim\_Thunder](https://discuss.elastic.co/u/Jim_Thunder)\
**Post date:** [May 16, 2022, 2:37pm UTC](https://discuss.elastic.co/t/json-filter-works-but-filter-refresh-doesnt-fix-cache-mapping-error/304708/9 "2022-05-16T14:37:55Z")

</div>

Ok yes 7.10.2 is what I see.

I also did that. Index Pattern \> mainframe\_syslog-\* is the index name. I refreshed it. Still did not see any of the fields from the screen shot above.

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [May 16, 2022, 2:45pm UTC](https://discuss.elastic.co/t/json-filter-works-but-filter-refresh-doesnt-fix-cache-mapping-error/304708/10 "2022-05-16T14:45:12Z")

</div>

So at this point..

What is the name of that actual index... Check within that document?

You can delete the index pattern and recreate it (only do that if you do now have a bunch of dashboards or visualization already doing that).

Try that let me know... There are been BIG improvements in this in recent releases... 7.10.2 is getting pretty old at this point.

---

<div class="post-metadata">

**Author:** ![Jim\_Thunder](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jim_thunder/32/45439_2.png) [@Jim\_Thunder](https://discuss.elastic.co/u/Jim_Thunder)\
**Post date:** [May 16, 2022, 3:44pm UTC](https://discuss.elastic.co/t/json-filter-works-but-filter-refresh-doesnt-fix-cache-mapping-error/304708/11 "2022-05-16T15:44:48Z")

</div>

Hello,

Disregard. Our ELK admins disabled the refresh function for regular users. Even though it looked like I was refreshing, it wasn't working.

They refreshed it for me! Thanks for checking though!! Sorry to waste your time.

---

<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:** [June 13, 2022, 3:45pm UTC](https://discuss.elastic.co/t/json-filter-works-but-filter-refresh-doesnt-fix-cache-mapping-error/304708/12 "2022-06-13T15:45:43Z")

</div>

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