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!

Archived Metrics Now Available for APAC and EMEA realms

We’re excited to announce the launch of Archived Metrics in Splunk Infrastructure Monitoring for our customers ...

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Dashboard Challenge and Watch the .conf24 Global Broadcast!

The Splunk Community Dashboard Challenge is still happening, and it's not too late to enter for the week of ...