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.
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.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.