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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...