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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...