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!

2024 Splunk Career Impact Survey | Earn a $20 gift card for participating!

Hear ye, hear ye! The time has come again for Splunk's annual Career Impact Survey!  We need your help by ...

Optimize Cloud Monitoring

  TECH TALKS Optimize Cloud Monitoring Tuesday, August 13, 2024  |  11:00AM–12:00PM PST   Register to ...

What's New in Splunk Cloud Platform 9.2.2403?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.2.2403! Analysts can ...