Splunk Search

Format table

rissois
Observer

I've a search that return a table like this:

column1             column2               column3

      a                            x                           value1

                                                                 value2

                                                                  value3

      b                            y                           value1

                                                                  value2

                                                                  value3

 

I need column3 values ​​to appear separated by "|", like this:

column1             column2               column3

      a                            x                           value1|value2|value3

      b                            y                           value1|value2|value3

 

it is possible format data like this?

Labels (1)
0 Karma

Thulasinathan_M
Contributor

Hi,

Append below lines, hope it'll work.

| eval column3 = mvjoin(column3, "|")
| table column1, column2, column3

rissois
Observer

it works. thank you

0 Karma
Get Updates on the Splunk Community!

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...