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!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Your Voice Matters! Help Us Shape the New Splunk Lantern Experience

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Building Momentum: Splunk Developer Program at .conf25

At Splunk, developers are at the heart of innovation. That’s why this year at .conf25, we officially launched ...