Splunk Search

How can I choose the color for the highlight command.

chris
Motivator

I'm not sure if this is the right way to do what I want, but we are trying to build dashboards for users that look at a live tail of a log at the moment and they will do something (create a ticket, call someone) if a certain pattern (an error/warning) pops up.

In the end I would like to have saved searches that will do the pattern spotting, but to show that splunk is actually capable of recognizing those patterns I thought that highlighting keywords in different colors doing a realtime search could help.

On top of that it might be easier to define the exact patterns that a savedsearch will have to recognise. Right now there is still a lot of "unconscious knowledge in the air". Such as: If error x and two errors y appear within 30 seconds then action z has to be taken. But when the search is built it turns out that there also needs to be a warning y with keyword b. I'm hopin that eventually all this knwoledge that the people built up over years can be transparently moved to queries working together with those users.

Thank you for your feedback.

Chris

1 Solution

chris
Motivator

I was able to implement this using a custom event renderer for a pretty specific log format:
http://docs.splunk.com/Documentation/Splunk/latest/Developer/EventRendering

View solution in original post

0 Karma

chris
Motivator

I was able to implement this using a custom event renderer for a pretty specific log format:
http://docs.splunk.com/Documentation/Splunk/latest/Developer/EventRendering

0 Karma
Get Updates on the Splunk Community!

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!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...