Getting Data In

syslog using Splunk

uber_cookie
New Member

Hi, can anyone tell me if I could do this using Splunk: Log from particular host to a particular directory, Archive loggs (log rotation using Splunk)

Tags (1)
0 Karma

Mick
Splunk Employee
Splunk Employee

If you're asking if Splunk can index the log files and hold the data for you, acting as an 'archive', yes it can do that. Instructions on how to do this can be found here

If you're asking if Splunk can take the files and move them to an archive location for you, not it can't. Splunk will only read your files in their current location, it won't edit the contents or move them for you. It can be configured to delete the files once it has indexed them, but that's a specific configuration setting you have to add yourself.

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Request for Professional Development: Attending .conf26

Winning Over the Boss: Your Pass to .conf26 conf26 is going to be here before you know it. If don't already ...