Splunk Enterprise Security

Getting special character in start of raw message "<86>May 19 14:42:03 xxxxxx ..."

pcnitk
New Member

We are getting speacial characters in splunk raw message which is impacting downstream parsing. Can you suggest ways to remove it?

0 Karma

skalliger
Motivator

What do you mean by special characters? The < and >? These are usually sent by a syslog sending device. If it's always at the start of a message, you could easily either cut it by using regex in transforms and rewrite to _raw or use sedcmd to get rid off it.

Both options are covered here on Answers quite a few times.

Skalli

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...