Splunk Search

How to display a table icon for a certain process status?

proylea
Contributor

Hi

I would like to show a list of processes and use the table icon set to show the status of the process, either existing (running) or not:
Green Tick for existing and Red Cross for not.

I can understand how to show a running process with a green tick next to it, but how do you show a non existing process with a red cross next to it? I'm assuming I would need to compare what was or should be existing with what is currently running.

An example of how to do this would be greatly appreciated.

Kind Regards
Peter

Tags (3)
0 Karma
1 Solution

MuS
Legend

Hi proylea,

you would need a lookup to keep track of the expected processes and use this lookup as comparison to the search.
Take a look at this answer http://answers.splunk.com/answers/73268/search-for-hosts-in-a-lookup-but-not-in-splunk.html to get an idea how it can be done; this was done to get hosts from a lookup which do not show in a search.

Hope this helps ....

cheers, MuS

View solution in original post

MuS
Legend

Hi proylea,

you would need a lookup to keep track of the expected processes and use this lookup as comparison to the search.
Take a look at this answer http://answers.splunk.com/answers/73268/search-for-hosts-in-a-lookup-but-not-in-splunk.html to get an idea how it can be done; this was done to get hosts from a lookup which do not show in a search.

Hope this helps ....

cheers, MuS

proylea
Contributor

Thanks that's exactly what I was looking for

0 Karma
Get Updates on the Splunk Community!

Now Playing: Splunk Education Summer Learning Premieres

It’s premiere season, and Splunk Education is rolling out new releases you won’t want to miss. Whether you’re ...

The Visibility Gap: Hybrid Networks and IT Services

The most forward thinking enterprises among us see their network as much more than infrastructure – it's their ...

Get Operational Insights Quickly with Natural Language on the Splunk Platform

In today’s fast-paced digital world, turning data into actionable insights is essential for success. With ...