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!

Agent Mode Engaged! Enchaining Agentic Operations with Splunk AI Assistant 2.0

    Are you ready to transform how your team handles complex data requests? We invite you to our upcoming ...

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 ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...