Getting Data In

Rotating/clearing out the Universal Forwarder's log files

Ricapar
Communicator

Part of the configuration we send to all of our Universal Forwarders instructs them to also send along their log files in $SPLUNK_HOME/var/log/splunk to the _internal index.

As such, we don't need/want to keep historical logs in that directory. Right now they're just taking up disk space.

Is there a configuration option on the Universal Forwarder we can set that'll have Splunk delete the old logs upon rotation?

0 Karma

lukejadamec
Super Champion

You can manipulate the configuration of the internal logging with the splunk/etc/log.cfg file. See this post, and the reference document it includes.
You can also make changes in Manager, but these changes are not persistent - they well go away after a Splunk restart.

http://answers.splunk.com/answers/959/how-can-i-control-the-size-and-number-of-splunks-internal-logs

Get Updates on the Splunk Community!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...