Getting Data In

Monitor syslog Inputs

JScordo
Path Finder

I currently have a syslog server forwarding data to our splunk instance. I wanted to know if there were any searches that i could run to make sure these data sets coming in via syslog are always working. I have a search that runs for my windows boxes which checks the forwarders and that i'm not missing data from them. I was wondering if this was possible with my servers that are sending via syslog.

-Thank you

Tags (2)
0 Karma

sjohnson_splunk
Splunk Employee
Splunk Employee

If you know the source names that you expect to see from the syslog server, you can easily use a metadata search and see what the lastTime value was for each source name. I like to use a regex filter to find only certain file names and then some time interval to wait.

| metadata type=sources index=* | regex source="" | eval lt=now() - lastTime | where lt>300

Schedule this to run on a 5 minute (or whatever) interval you need to check.

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