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!

Index This | What goes away as soon as you talk about it?

May 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this month’s ...

What's New in Splunk Observability Cloud and Splunk AppDynamics - May 2025

This month, we’re delivering several new innovations in Splunk Observability Cloud and Splunk AppDynamics ...

Getting Started with Splunk Artificial Intelligence, Insights for Nonprofits, and ...

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