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!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Kubernetes Alerts That Work Out of the Box with AutoDetect detectors in Splunk ...

A deployment rolls out slowly, one pod sits not ready for a few minutes, and whoever is on call gets an alert ...

Observability at Your Fingertips Directly From Splunk Platform—for Free

At .conf, we announced our roadmap to bring observability foundations to Splunk Platform. Bringing metrics and ...