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.

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...