Splunk Enterprise

Parsing Syslog csv format- Why does syslog add time and host fields at the beginning of my log?

elkatane
Loves-to-Learn Lots

Hello 

 

I have a problem parsing this csv format log, the problem is that syslog adds Time and host fields at the beginning of my log.

 

Jun 8 10:47:33 sv43562  "Thu Jun 8 10:47:05 2023","email@gmail.com","HTTPS","url","Allowed","General Browsing","General Browsing","Travel","Travel","None","None","0","None","None","GET","200","Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0),"None"

How can I fix this?

 

Thanks for your help.

 

Labels (1)
Tags (2)
0 Karma

elkatane
Loves-to-Learn Lots

Props.conf :

 

SEDCMD-removeheader = s/^\w{3}\s+\d+\s+\d{2}:\d{2}:\d{2}\s+\w{8}\s+/g

0 Karma

elkatane
Loves-to-Learn Lots

UP

0 Karma
Get Updates on the Splunk Community!

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...