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
Revered Legend

Try like this

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

View solution in original post

somesoni2
Revered Legend

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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...