All Apps and Add-ons

inputs.conf for PAN app when collecting from syslog server

JSapienza
Contributor

We already have the pan devices logging to our syslog-ng server. I have deployed the the following inputs.conf to the forwarder:

# syslog forwarder inputs
  [monitor:///var/log/syslog/PaloAlto/]
  host_segment = 5
  index = pan_logs
  sourcetype = pan_log
  blacklist = \.(gz|bz2)$

Data is hitting the pan_logs index however none of the dashboards are populating. After looking at some of the searched I noticed other pan sourcetypes that are not being populated. I assume these are supposed to be rewritten at index time? . All data in the pan_logs index is sourcetype = pan_log. Any ideas ?

0 Karma

btorresgil
Builder

Hello,

If the logs are coming in as sourcetype=pan_log, then that is usually due to a parsing issue because it is supposed to parse the logs and separate them into different sourcetypes. Typically it can't parse the logs because they have been changed in some way from their original default format. Check that you aren't using a custom log format on the firewall, and that your syslog-ng server isn't changing the logs so that the parser can't determine the correct sourcetype for each log.

-Brian

0 Karma

JSapienza
Contributor

Thanks Brian, So I should not explicitly set the sourcetype in the monitor stanza ?

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

Agent Mode Engaged! Enchaining Agentic Operations with Splunk AI Assistant 2.0

    Are you ready to transform how your team handles complex data requests? We invite you to our upcoming ...

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

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...