Getting Data In

How to split multiple data of same column into different columns

shrutip123
Observer

I have one column with data entries like below -
column_1

a=123, b= 888, c=645,d=6328

a=6734, f=876, h=6666

 

I want the result as -

field_1             field_2
a                            123
b                             888
c                             654
d                             6328
a                              6734
f                                876
h                               6666


Thanks

0 Karma

to4kawa
Ultra Champion

| rex max_match=0 field=column_1 "(?<name>\w)=(?<data>\d+)"
| stats list(name) as field_1 list(data) as field_2

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...