Getting Data In

How to delete data from syslog-ng after Splunk indexes it, and confirm the data is indexed before deletion?

ckillg
Path Finder

Is there a way to have Splunk delete the data from a syslog-ng server after it indexes it? Would like to confirm that data is indexed before it gets deleted.

0 Karma

shtychkn
Engager

Hey ckillg,

You could also set log rotation in syslog-ng to delete logs after a few days.

https://www.balabit.com/sites/default/files/documents/syslog-ng-ose-latest-guides/en/syslog-ng-ose-g...

good luck.

0 Karma

MuS
Legend

Hi ckillg,

if you're looking at inputs.conf http://docs.splunk.com/Documentation/Splunk/6.3.0/admin/Inputsconf there is the batch mode which will delete a file after it has been indexed by Splunk....but it has no confirmation method.

Hope this helps ...

cheers, MuS

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...