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!

New Year, New Changes for Splunk Certifications

As we embrace a new year, we’re making a small but important update to the Splunk Certification ...

Stay Connected: Your Guide to January Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...

[Puzzles] Solve, Learn, Repeat: Reprocessing XML into Fixed-Length Events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...