Get list of fields for index in kibana plugin

I am developing kibana app plugin and I want to get list of all fields in particular index in client side to list them in drop down menu.
How to get them?


Injecting es into your controller will give you access to an instance of the elasticsearch-js client. You can use that to pull down and parse your index's mappings. An example of how kibana does this can be seen here

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