Getting Data In

Syslog Data Reaching Forwarder?

itsmevic
Communicator

Hello, I need to check to see if Syslog data is reaching my forwarders.  What would be the best query to use to check this?

Labels (1)
1 Solution

General_Talos
Path Finder

As per my understanding for syslog server logs monitoring, you have to install a Splunk UF agent on syslog server and perform "file & folder monitoring" (to the logs which you want to onboard into Splunk).

Within input.conf you define logs details like

index = XYZ
sourcetype= ABC

 

 

if your logs are reporting to Splunk, you can check it by

 

| tstats count where index=ZYX sourcetype=ABC by sourcetype _time 
|timechart sum(count) as count by sourcetype

View solution in original post

General_Talos
Path Finder

As per my understanding for syslog server logs monitoring, you have to install a Splunk UF agent on syslog server and perform "file & folder monitoring" (to the logs which you want to onboard into Splunk).

Within input.conf you define logs details like

index = XYZ
sourcetype= ABC

 

 

if your logs are reporting to Splunk, you can check it by

 

| tstats count where index=ZYX sourcetype=ABC by sourcetype _time 
|timechart sum(count) as count by sourcetype

gcusello
SplunkTrust
SplunkTrust

Hi @itsmevic,

you can run a simple search on the index where you store the logs that you ingest with that input from your syslog.

You can recognize them using the host field.

in other words:

index=your_index host=your_host

Ciao.

Giuseppe

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!

Fuel Your Journey: What’s Waiting for You at the .conf26 Acceleration Station

Navigating the show floor at .conf26 isn't just about keynotes and technical breakout sessions; it's also ...

Join the Final Session of the Data Management & Federation Bootcamp Series

Over the past three sessions of the Data Management & Federation Bootcamp Series, we've explored how to build ...

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...