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!

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Customers Increasingly Choose Splunk for Observability

For the second year in a row, Splunk was recognized as a Leader in the 2024 Gartner® Magic Quadrant™ for ...