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!

Splunk Observability Cloud’s AI Assistant in Action Series: Analyzing and ...

This is the second post in our Splunk Observability Cloud’s AI Assistant in Action series, in which we look at ...

Elevate Your Organization with Splunk’s Next Platform Evolution

 Thursday, July 10, 2025  |  11AM PDT / 2PM EDT Whether you're managing complex deployments or looking to ...

Splunk Answers Content Calendar, June Edition

Get ready for this week’s post dedicated to Splunk Dashboards! We're celebrating the power of community by ...