Refresh Field List through API Call

Hi,

We are adding new fields to our existing index and would like to show these new fields on our kibana dashboard. However, noticed that new field is not available right away and requires a field list refresh through management console.

Is there any Kibana API to perform this field list refresh? This is important as we deploy our dashboards through CI/CD and do not want any manual intervention.

Hi @singhamitprakash,

I don't think we have a dedicated API endpoint to do that unfortunately. But as a workaround you can repeat the sequence of two requests Kibana does when you refresh fields manually (GET api/index_patterns/_fields_for_wildcard + PUT api/saved_objects/index-pattern/...), just use Network tab in browser dev console to see what's going on when you press that button.

You can follow this discussion. We'll either improve the situation and won't require manual refresh in the future or just provide a dedicated API.

Best,
Oleg

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