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!

Observability Unlocked: Kubernetes Monitoring with Splunk Observability Cloud

  Ready to master Kubernetes and cloud monitoring like the pros?Join Splunk’s Growth Engineering team for an ...

Wrapping Up Cybersecurity Awareness Month

October might be wrapping up, but for Splunk Education, cybersecurity awareness never goes out of season. ...

🌟 From Audit Chaos to Clarity: Welcoming Audit Trail v2

🗣 You Spoke, We Listened  Audit Trail v2 wasn’t written in isolation—it was shaped by your voices.  In ...