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!

Index This | Why do they call it hyper text?

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

State of Splunk Careers 2023: Career Resilience and the Continued Value of Splunk

For the past three years, Splunk has partnered with Enterprise Strategy Group to conduct a survey that gauges ...

The Great Resilience Quest: 9th Leaderboard Update

The ninth leaderboard update (11.9-11.22) for The Great Resilience Quest is out >> Kudos to all the ...