Using Elastic 8.10.4 version.
-
How to enable slow logs for existing indices and future indices? Also how to skip the system level indices?
-
If i need to disable slow logs after testing, how to disable it?
Using Elastic 8.10.4 version.
How to enable slow logs for existing indices and future indices? Also how to skip the system level indices?
If i need to disable slow logs after testing, how to disable it?
Hi @Test_Test3,
Welcome to the community! In terms of your questions:
index.indexing.slowlog.source
to false
or 0
.Hope that helps!
I have lot of indices existing and cannot apply to individually. so applying * will make it applicable to system indices like .kibana, ilm indices etc., which i dont want so any regex pattern to skip the special indices starts with a dot(like .kibana)
If i enable using below
"index.search.slowlog.threshold.query.info": "0s",
how to disable the above? should i set the value again to -1 ?
© 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.