Logging request headers for queries taking time above a threshold

(Ashish Goel) #1

Hi there,

In my ElasticSearch setup, I have placed logging configuration such that any query on a particular index taking more than 300ms is to be logged. The logging is working fine, it is just that I wanted to get one more piece of information to be logged and that is the details of the source of query, where it originated from. Is there any way I can log the request headers for these slow queries or any other method I can get the details I need?
Also, I have Marvel installed on all my nodes in the cluster. Can Marvel provide me the needed details?


(Mark Walkom) #2

There's currently no way to get this information logged without something like Shield.

(Ashish Goel) #3

Thanks for the confirmation Mark.

(system) #4