Convert Service Definitions in Kibana4 Config to ES Query


#1

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.


(CJ Cenizal) #2

Hi there,

I think the only 2 ways you can access the data you want are through those Request buttons, or by observing the requests that get sent over the network.

Sorry I couldn't be more helpful!

CJ


#3

Thanks for the reply. What I think I'm going to do is just tromp through the source and pull out the bits that put the snippets together as a query.


(system) #4