Splunk Enterprise

Does Splunk need a restart after a change to log.cfg?

splunkemly
New Member

Currently, we have this in /opt/splunkforwarder/etc/log.cfg:

appender.A1.fileName=${SPLUNK_HOME}/var/log/splunk/splunkd.log 

I want to change the logging location to /var/log and wondering if it can be done by doing this:

appender.A1.fileName=/var/log/splunk/splunkd.log

If so, Does splunk need to be restarted after this change to log.cfg?

0 Karma

renjith_nair
Legend

For any manual change in configs, splunk needs a restart

Ref : http://docs.splunk.com/Documentation/Splunk/6.2.0/Troubleshooting/Enabledebuglogging

---
What goes around comes around. If it helps, hit it with Karma 🙂
0 Karma
Get Updates on the Splunk Community!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...