I am looking for a library that can read in a dashboard's configuration and reconstruct the queries it uses. I know I can click the request button in the UI to see it, but I'm looking to automate the process.
The idea is to allow other stakeholders work with the data in Kibana, and then recycle the query in other reporting applications. It would be just as easy for me to hardcode the query or use the Python ES DSL library, but that means that for every change in Kibana I need to update N more places.