How do I download logs messages/documents from Kibana 4/Elastic server?


(Mahadev) #1

Hi there, I want to download a set of log message/documents from elastic server, I know that we have "request" json in the Kibana 4 dashboard, Can I use a CURL to get the messages with request json? If yes, do we have a sample CURL to hit the elastic server? Please assist


(Ed) #2

A little self promotion,

this will by default export anything in the "message field" and you can pipe it to a file.

I am sure there are many other ways to do it, and the code I wrote is not overly complex to modify and do what you want.


(system) #3