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!

Updated Data Type Articles, Anniversary Celebrations, and More on Splunk Lantern

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

A Prelude to .conf25: Your Guide to Splunk University

Heading to Boston this September for .conf25? Get a jumpstart by arriving a few days early for Splunk ...

4 Ways the Splunk Community Helps You Prepare for .conf25

.conf25 is right around the corner, and whether you’re a first-time attendee or a seasoned Splunker, the ...