# Refreshing Indices

**URL:** <https://discuss.elastic.co/t/refreshing-indices/274252>\
**Category:** Kibana\
**Created:** [May 27, 2021, 6:46pm UTC](https://discuss.elastic.co/t/refreshing-indices/274252 "2021-05-27T18:46:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![zaeemmasood](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zaeemmasood/32/102383_2.png) [@zaeemmasood](https://discuss.elastic.co/u/zaeemmasood)\
**Post date:** [May 27, 2021, 6:46pm UTC](https://discuss.elastic.co/t/refreshing-indices/274252/1 "2021-05-27T18:46:12Z")

</div>

Hi All,

Is there a way I could refresh indices (field list) by not relying on doing it manually through Kibana?

Can a curl command be used instead? I have ELK 7.6.2 stack.

Thanks

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 27, 2021, 11:23pm UTC](https://discuss.elastic.co/t/refreshing-indices/274252/2 "2021-05-27T23:23:01Z")

</div>

It looks like this is what you want - [Update index pattern API | Kibana Guide [7.13] | Elastic](https://www.elastic.co/guide/en/kibana/current/index-patterns-api-update.html)

```auto
POST api/saved_objects/index-pattern/my-pattern
{
  "refresh_fields": true
}

```

---

<div class="post-metadata">

**Author:** ![zaeemmasood](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zaeemmasood/32/102383_2.png) [@zaeemmasood](https://discuss.elastic.co/u/zaeemmasood)\
**Post date:** [June 16, 2021, 7:45pm UTC](https://discuss.elastic.co/t/refreshing-indices/274252/3 "2021-06-16T19:45:44Z")

</div>

Thanks. Is there a privilege that I could assign to a non-superuser who could refresh field list of a specific index pattern manually through Kibana? Please see the yellow highlighted icon in the picture below:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/1/2/120381eb0a35bc8d4c3c130c0eaf1b9c8d69ad1d.png)

---

<div class="post-metadata">

**Author:** ![matw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matw/32/13913_2.png) [@matw](https://discuss.elastic.co/u/matw)\
**Post date:** [June 17, 2021, 10:29am UTC](https://discuss.elastic.co/t/refreshing-indices/274252/4 "2021-06-17T10:29:28Z")

</div>

I'm not aware of this specific privilege, but note that in 7.11 the field cache was removed and the refresh is no longer necessary:

> <https://github.com/elastic/kibana/pull/82223>
>
> \## Summary
> 
> Removes index pattern field cache and field refresh ui. Field list… is loaded via field caps api when index pattern is loaded. Field attributes that we wish to persist are now saved separately from the field list on the SavedObject. The field list will only contain scripted fields.
> 
> \### Checklist
> 
> Delete any items that are not applicable to this PR.
> 
> \- \[x\] \[Unit or functional tests\](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
> 
> \### For maintainers
> 
> \- \[x\] This was checked for breaking API changes and was \[labeled appropriately\](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

---

<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 15, 2021, 10:29am UTC](https://discuss.elastic.co/t/refreshing-indices/274252/5 "2021-07-15T10:29:46Z")

</div>

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