I'm trying to have a log for the following three things:
- how long it ran
- how many result it found
- what the query is
slow log can give me 1 and 3, but not 2. So is there any way for me to get that?]
Appreciate it!
I'm trying to have a log for the following three things:
slow log can give me 1 and 3, but not 2. So is there any way for me to get that?]
Appreciate it!
That sounds like a good idea to me. Can you open an issue for it on GitHub?
Maybe there already is an issue for it? If so go and comment on it!
One fun thing is that the slow logos per shard nor for the whole query,
iirc. In that case only the number of hits on that shard are available, not
the total.
Thank you Nik! Just added the issue here: https://github.com/elastic/elasticsearch/issues/20648
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.