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!

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

Data Management Digest – May 2026

Welcome to the May 2026 edition of Data Management Digest!   As your trusted partner in data innovation, the ...