Splunk Search

Is debug enabled for my searches, and can this affect my search performance?

a212830
Champion

Hi,

I was looking at the job inspector on one of my SH's and noticed that debug is enabled within the job inspector. Is this normal? Would this slow down the search?

DEBUG: [zdal134] search context: user="a212830", app="search", bs-pathname="/apps/splunk/var/run/searchpeers/A7306951-22E1-4738-80A4-96B078998846-1412380262"
DEBUG: [xdal138] search context: user="a212830", app="search", bs-pathname="/apps/splunk/var/run/searchpeers/A7306951-22E1-4738-80A4-96B078998846-1412380262"
DEBUG: [1dal139] search context: user="a212830", app="search", bs-pathname="/apps/splunk/var/run/searchpeers/A7306951-22E1-4738-80A4-96B078998846-1412380262"
DEBUG: [6mmk254] search context: user="a212830", app="search", bs-pathname="/apps/splunk/var/run/searchpeers/A7306951-22E1-4738-80A4-96B078998846-1412380262"
DEBUG: [pmmk255] search context: user="a212830", app="search", bs-pathname="/apps/splunk/var/run/searchpeers/A7306951-22E1-4738-80A4-96B078998846-1412380262"
0 Karma

jrodman
Splunk Employee
Splunk Employee

Debug level for search processes should normally be controlled via $SPLUNK_HOME/etc/log-searchprocess-local.cfg, however people often modify $SPLUNK_HOME/etc/log-searchprocess.cfg. The -local file is an override file and may not exist.

It's also possible I'm misinterpreting because there isn't a lot of context here.

DEBUG messages can affect search speed when they are extremely frequent, to the point that the search process spends far too much time writing to the logs and not enough time doing search work. A look at the dispatch directory of the search in question to evaluate the size of the search.log files would quickly clarify if that is likely.

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...