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

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...