Splunk Search

Is it possible to put values of multiple fields in a field in a sequence?

jvmerilla
Path Finder

Hi,

Is this possible to do in spl?

For example I have these fields:

alt text

What I need to do is to arrange it in this way:
alt text

How can I do this with spl?

Thanks!

0 Karma
1 Solution

somesoni2
SplunkTrust
SplunkTrust

Try like this

your current search giving fieldA fieldB fieldC fieldD fieldE
| untable fieldA fieldName fieldB-E 

View solution in original post

somesoni2
SplunkTrust
SplunkTrust

Try like this

your current search giving fieldA fieldB fieldC fieldD fieldE
| untable fieldA fieldName fieldB-E 

jvmerilla
Path Finder

Hi @somesoni2,

Thanks, it works! But is it possible to use the fields created by untable with the original fields in the events tab?

For example, I have FIELD F that I want to add with my table, but I want the values to arrange the same created by untable.

Is this possible?

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...