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!

Mile High Learning with Splunk University, Denver, Colorado

If Denver is known for its mile-high elevation, Splunk University is about to raise the bar on technical ...

IT Service Intelligence 5.0 Series: Your Guide to the June Launch

We are excited to announce the June release of Splunk IT Service Intelligence (ITSI) 5.0. This update ...

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