Splunk Search

How to use color to highlight similar host?

priya0709
Path Finder

My query searches for eventcode and displays (host, time, task category, message) i want to use some color to highlight all  same hosts generating multiple eventcode??

please help with the query

Labels (1)
0 Karma

thambisetty
SplunkTrust
SplunkTrust

Once report is generated, you can edit columns and apply color based on field text.

————————————
If this helps, give a like below.
0 Karma

aashiqwork
Explorer

Put your search query and create an new event type based on your hosts and set the priority so that we will get host highlighted in your search result. 

0 Karma

priya0709
Path Finder

8BD1CF2D-3A47-436C-9B9E-35EACECD13B2.jpeg

 i want entire row to be highlighted with some colors based on same hosts??

can you please help with query??

0 Karma

thambisetty
SplunkTrust
SplunkTrust

It's easy to apply color for values in a column. you have to save the report or add report to dashboard to apply colors to single column like below:

Screen Shot 2020-08-04 at 3.45.32 PM.png

 

but your requirement is to color entire line based on one field text value, in this case you have to write js and css as mentioned in below answers.
https://community.splunk.com/t5/Splunk-Search/Change-the-color-of-rows-in-a-table-based-on-text-valu...

 

————————————
If this helps, give a like below.
0 Karma
Get Updates on the Splunk Community!

Your Voice Matters! Help Us Shape the New Splunk Lantern Experience

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

September Community Champions: A Shoutout to Our Contributors!

As we close the books on another fantastic month, we want to take a moment to celebrate the people who are the ...

Community Content Calendar, October Edition

Welcome to the October edition of our Community Spotlight! The Splunk Community is a treasure trove of ...