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!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...