Splunk Search

one event one filed multi value

crazyeva
Contributor

hello
I have my log form as multi lines breaked with an empty line
thanks to ziegfried, I have devided each event successfully with his help
now I want to extract a field, in each event, may covers more than one value. 1,2 maybe 3 of them, same REX.

I find slpunk can pick out the first value which match the REX express, the others are dropped.
Can splunk extract multi values in one event with one REGEX or one FIELD name?
Thank you!

Tags (1)
0 Karma
1 Solution

gkanapathy
Splunk Employee
Splunk Employee

crazyeva
Contributor

Thank you very much

0 Karma

kristian_kolb
Ultra Champion
0 Karma

0waste_splunk
Communicator

@kristian.kolb.

can you please explain in detail with some example?

thanks

0 Karma

gkanapathy
Splunk Employee
Splunk Employee

You should look at the max_match parameter of the rex command.

http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Rex

crazyeva
Contributor

Thank you very mutch.
It is realy a long cause to study on splunk.

0 Karma

Ayn
Legend

Check kristian.kolb's comment.

0 Karma

crazyeva
Contributor

is there any way for pre-extraction
like some parameters in props.conf or transforms.conf?

0 Karma

kristian_kolb
Ultra Champion

Check out how to make multi-valued extraction through MV_ADD in transforms.conf

Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...