Splunk Cloud Platform

How to parse jenkins logs?

sarit_s6
New Member

Hello

I'm using Splunk cloud, i have jenkins logs indexed to my system but for some reason breaks

I took an output example and add it to Splunk with the "Add Data" option and there it looks ok but when im searching for the sourcetype it is still broken.

What is the best way to parse jenkins logs ?

this is my sourcetype configuration :

 

[ console_logs ]
CHARSET=UTF-8
LINE_BREAKER=([\r\n]+)
NO_BINARY_CHECK=true
SHOULD_LINEMERGE=true
category=Structured
disabled=false
pulldown_type=true

 

and i want it to be shown with the bulks :

 

<time> Started by user
<time> Finished:

 

 

Labels (1)
Tags (2)
0 Karma

VatsalJagani
SplunkTrust
SplunkTrust

@sarit_s6 - Kindly provide sample raw data and tell how you would like to see the events being broken, so we can help.

 

0 Karma

sarit_s6
New Member
Hello
Thanks for your reply
I cannot attach the real logs but let have an example
The log will start with timestamp so
08:30:23 Started by Sarit Shvartzman
Raw
Raw
Raw
08:32:34 Finished:
I want all of this to be in one event
Instead of as it now that it breaks by raw
Tags (1)
0 Karma
Get Updates on the Splunk Community!

Splunk Observability Cloud | Unified Identity - Now Available for Existing Splunk ...

Raise your hand if you’ve already forgotten your username or password when logging into an account. (We can’t ...

Index This | How many sides does a circle have?

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

Registration for Splunk University is Now Open!

Are you ready for an adventure in learning?   Brace yourselves because Splunk University is back, and it's ...