Re: Is there any option to log queries?

2014-11-25 Thread Eugen Paraschiv
I did read about that option, thanks for letting me know that it's the way to go. I though that there would be another way, but since there's not, I'll go ahead and do that. Thank you, Eugen. On Tue, Nov 25, 2014 at 6:46 PM, Yosi Haran wrote: > Hi Eugen, > > You can use the "slowlog.log" file to

Re: Is there any option to log queries?

2014-11-25 Thread Yosi Haran
Hi Eugen, You can use the "slowlog.log" file to view queries that were sent: it prints out the JSON of the query received. This log is off by default and only prints logs for operations that took longer than durations specific in the elasticsearch.yml config file. You can turn it on and set the

Is there any option to log queries?

2014-11-25 Thread Eugen Paraschiv
Hi, I'm using Spring Data Elasticsearch, and so some of the queries are generated. I'd like to be able to log all queries that hit Elasticsearch, simply to be able to better understand what is being generated and run. I found some old (2010) discussions saying that this isn't possible - but I'