Splunk Search

Why is extracted field not showing up in the results page?

rmalghan
Explorer

I have a search criteria with extraction, It seems to be extracting the value. But it's showing up in it's own column. 

 

 

index=moogsoft "Return from ServiceNow (" | rex "Return from ServiceNow \((?<delay>\d+) seconds\)"

 

 

In the results page, I am only seeing the timestamp, the event, the extracted delay variable below the event. How do I display so the delay shows up in it's own column next to the event.

 

 

Labels (2)
0 Karma
1 Solution

gcusello
SplunkTrust
SplunkTrust

Hi @rmalghan,

let me understand: instead of the normal "List" view, you want a table with the following columns: timestamp, delay, events, is this correct?

If this is your need, you have to select "Table" instead of "List" (in the dropdown near Format).

This view displays only the fields you have in the "selected Fields" list, so you can choose the ones you like.

Ciao.

Giuseppe

View solution in original post

gcusello
SplunkTrust
SplunkTrust

Hi @rmalghan,

let me understand: instead of the normal "List" view, you want a table with the following columns: timestamp, delay, events, is this correct?

If this is your need, you have to select "Table" instead of "List" (in the dropdown near Format).

This view displays only the fields you have in the "selected Fields" list, so you can choose the ones you like.

Ciao.

Giuseppe

rmalghan
Explorer

When I do that, yes I get the delay in a new column. But the event (raw log goes away). I see _time, delay and source columns. How do I include the actual full event. When I click "All Fields", don't see the option to select the event

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @rmalghan,

please try this:

your_search
| table _time delay _raw

Ciao.

Giuseppe

0 Karma

rmalghan
Explorer

IMG_7516.jpg

0 Karma

PickleRick
SplunkTrust
SplunkTrust

You can click on the "All fields" label on the left side of the screen and then add selected field(s) to the list of the interesting fields which will be displayed immediately below the raw event in the list view.

0 Karma
Get Updates on the Splunk Community!

How to Monitor Google Kubernetes Engine (GKE)

We’ve looked at how to integrate Kubernetes environments with Splunk Observability Cloud, but what about ...

Index This | How can you make 45 using only 4?

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

Splunk Education Goes to Washington | Splunk GovSummit 2024

If you’re in the Washington, D.C. area, this is your opportunity to take your career and Splunk skills to the ...