Getting Data In

How do keep splunk from removing syslog priority fields?

Chris_R_
Splunk Employee
Splunk Employee

How do keep splunk from removing syslog priority fields? They are removed once indexed into splunk.

Tags (1)
0 Karma
1 Solution

Chris_R_
Splunk Employee
Splunk Employee

There is a optional flag within inputs.conf you can place in any UDP input stanza, such as

[udp://514]

no_priority_stripping = true

This will keep your priority field on any syslog events indexed into splunk via udp port 514

View solution in original post

Chris_R_
Splunk Employee
Splunk Employee

There is a optional flag within inputs.conf you can place in any UDP input stanza, such as

[udp://514]

no_priority_stripping = true

This will keep your priority field on any syslog events indexed into splunk via udp port 514

Chris_R_
Splunk Employee
Splunk Employee

Unfortunately this only works with syslog via UDP inputs.
If using a tcp input, you would have to set up a props/transforms entry to store these fields.

0 Karma

balbano
Contributor

will this also work for SSL? for example:

[splunktcp-ssl:9996]
compressed = true
no_priority_stripping = true

Kindly confirm.

Thanks!

Brian

0 Karma
Get Updates on the Splunk Community!

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...