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!

Application management with Targeted Application Install for Victoria Experience

  Experience a new era of flexibility in managing your Splunk Cloud Platform apps! With Targeted Application ...

Index This | What goes up and never comes down?

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

Splunkers, Pack Your Bags: Why Cisco Live EMEA is Your Next Big Destination

The Power of Two: Splunk + Cisco at "Ludicrous Scale"   You know Splunk. You know Cisco. But have you seen ...