Describe the feature:
Details in this thread: https://discuss.elastic.co/t/turn-off-source-for-slow-logs/71182
As far as I know, there is an option to disable source logging for indexing logs, however there is no way to disable source logging for search logs. We are right now logging indexing and search slow logs to fetch latency for both search and indexing queries.
Example
The following exists
index.indexing.slowlog.source: 0 OR
index.indexing.slowlog.source: false
but the following configuration does not exist
index.search.slowlog.source: 0 OR
index.search.slowlog.source: false
Is it straight forward to add this feature? I was looking at the code and though it seemed like a simple change, I wasn't sure because the code (IndexSettings) is referenced a lot of times. I am willing to work on the change though if someone can give me a quick starter.
Describe the feature:
Details in this thread: https://discuss.elastic.co/t/turn-off-source-for-slow-logs/71182
As far as I know, there is an option to disable source logging for indexing logs, however there is no way to disable source logging for search logs. We are right now logging indexing and search slow logs to fetch latency for both search and indexing queries.
Example
The following exists
but the following configuration does not exist
Is it straight forward to add this feature? I was looking at the code and though it seemed like a simple change, I wasn't sure because the code (IndexSettings) is referenced a lot of times. I am willing to work on the change though if someone can give me a quick starter.