Splunk Search

Explode line into multiple lines

Yossarian622
Engager

Howto to explode 1 row to several breaking out a multi-value field.

app=ABC client=AA views=View1,View2
app=ABC client=AA views=View1,View2,View3
app=ABC client=BB views=View1,View3
app=ABC client=CC views=View3,View2,View1

I want to table that to column data:

app client view
ABC AA View1
ABC AA View2
ABC AA View1
ABC AA View2
ABC AA View3
ABC BB View1
ABC BB View3
ABC CC View3
ABC CC View2
ABC CC View1

So that I can run count on that resultant rows

app client view count
ABC AA View1 2
ABC AA View2 2
ABC AA View3 1
ABC BB View1 1
ABC BB View3 1
ABC CC View3 1
ABC CC View2 1
ABC CC View1 1

Labels (1)
0 Karma
1 Solution

Yossarian622
Engager

Yes!

a combination of makemv delim="," views

and mvexpand views

got me what I was looking for. thanks!

0 Karma
Get Updates on the Splunk Community!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

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

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...