Splunk Search

Highlighting a field in the events output

whywhywhy
Engager

I have a search that is looking pipes through a rex.

rex fields=_raw "\D(?<big_num>\d{15,16})\D"

I want the UI to highlight the values identified as feild type big_num in the events log. Is there a way to do this?

Tags (2)

ftk
Motivator

You can use the highlight and iconify search commands in order highlight specific words or fields in your events.

0 Karma

simuvid
Splunk Employee
Splunk Employee

Hi There,

what you can do is extract a custom field for the value in the events you are looking for.

See documentation here:

http://www.splunk.com/base/Documentation/4.1.4/User/ExtractNewFields

When you add the field to your UI from the field picker on the left hand side, the value is shown and also highlighted.

Hope that's what you are looking for.

Cheers,

Christian

Get Updates on the Splunk Community!

Combine Multiline Logs into a Single Event with SOCK - a Guide for Advanced Users

This article is the continuation of the “Combine multiline logs into a single event with SOCK - a step-by-step ...

Everything Community at .conf24!

You may have seen mention of the .conf Community Zone 'round these parts and found yourself wondering what ...

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...