# Refreshing index pattern with API

**URL:** <https://forum.opensearch.org/t/refreshing-index-pattern-with-api/11509>\
**Category:** Index Management\
**Tags:** index-management\
**Created:** [November 15, 2022, 9:29pm UTC](https://forum.opensearch.org/t/refreshing-index-pattern-with-api/11509 "2022-11-15T21:29:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![schand](https://avatars.discourse-cdn.com/v4/letter/s/dec6dc/32.png) [@schand](https://forum.opensearch.org/u/schand)\
**Post date:** [November 15, 2022, 9:29pm UTC](https://forum.opensearch.org/t/refreshing-index-pattern-with-api/11509/1 "2022-11-15T21:29:04Z")

</div>

**Versions** (relevant - OpenSearch/Dashboard/Server OS/Browser):

**Describe the issue** :  
In our we have 1000’s of indices and I have applied a change for the fields at the source(FluentD). The logs are flowing and able to see the new fields. But the issue is, unable to filter logs using those new fields as the new fields have no cached mapping. For couple of them, I have refreshed the Index patterns. But as there are alot of them, is there any API call that can help me to refresh all the index patterns together.

**Configuration** :

**Relevant Logs or Screenshots** :

---

<div class="post-metadata">

**Author:** ![merlinz01](https://avatars.discourse-cdn.com/v4/letter/m/b77776/32.png) [@merlinz01](https://forum.opensearch.org/u/merlinz01)\
**Post date:** [April 29, 2024, 7:59pm UTC](https://forum.opensearch.org/t/refreshing-index-pattern-with-api/11509/2 "2024-04-29T19:59:59Z")

</div>

Similar problem here. How can I remove the “No cached mapping for this field” message after adding a field to an index template?
