Hi,
I'm working on a plugin for kibana 7.9.1, at some point I'd like to refresh the fields of an index pattern. hence calling getFieldsForWildcard() of IndexPatternsApiClient would be nice. I've basically the same question than this posts :
Things have changed a bit since the posts you linked to. You should be able to add the data plugin to your plugin's lists of dependencies. Then, you should be able to instantiate a new IndexPatternsFetcher class with the Elasticsearch client you receive in the context.core.elasticsearch.asCurrentUser (I believe). Could you let me know if that helps?
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.