Getting Data In

field extractions transforms

nawazns5038
Builder

Hi, 

I am unable to figure out a regex that matches the key value pairs of my data , I think the transforms.conf regex and format would help here. 

I am posting a sample event. 

 

SAEGW-SGW10,sdfsd-sdfafsadf:1,sdafsdf:3,asdfsdf:3,dsfgdsfgretewq:0


It is just a FIELD_NAME:FIELD_VALUE pair. Just the first word of the event does not have a value associated with it. 

 

I have tried this ([^\:]+)\:([^\,]+)\, but this not 100% accurate . Looking for more accuracy. 

 

Thanks

 

Labels (3)
0 Karma

isoutamo
SplunkTrust
SplunkTrust

Hi

Do you mean that there is

Field name + possible value separated by : and those pairs is always separated by , ?

r. Ismo

0 Karma
Get Updates on the Splunk Community!

Observability | How to Think About Instrumentation Overhead (White Paper)

Novice observability practitioners are often overly obsessed with performance. They might approach ...

Cloud Platform | Get Resiliency in the Cloud Event (Register Now!)

IDC Report: Enterprises Gain Higher Efficiency and Resiliency With Migration to Cloud  Today many enterprises ...

The Great Resilience Quest: 10th Leaderboard Update

The tenth leaderboard update (11.23-12.05) for The Great Resilience Quest is out >> As our brave ...