Dashboards & Visualizations

How to create a visualization to show if a service is "up" or "down"?

edoardo_vicendo
Contributor

Hi All,

I am quite new to Splunk, and I am trying to plot a graph that just represent if a service (CICS Region) is up or down without the need to have this info over time, we just would like to have a graph that represent the name of the service and a red/green indicator.

To do so we are collecting the info from the server collecting them as below:

Thu Sep 15 15:49:41 CEST 2016;CICSR1;available
Thu Sep 15 15:49:41 CEST 2016;CICSR2;available
Thu Sep 15 15:49:41 CEST 2016;CICSR3;available
Thu Sep 15 15:49:41 CEST 2016;CICSR4;available

and doing a search as below:

source="../SPLUNK_cics_region_control.txt" host="CICS_REGION" sourcetype="csv" CICS_REGION="CICSR1"  | eval AVAILABILITY = if(AVAILABILITY="available","OK","KO")  | dedup 1 source

In this way we are able to select the last event, with the information if OK/KO.

May you please suggest how to plot the info to represent the service with a red/green indicator if OK/KO?

Best Regards,
Edoardo

0 Karma

sundareshr
Legend

You can use single value visualization and here's a previous discussion similar to what you are trying to achieve

https://answers.splunk.com/answers/103910/using-text-field-up-down-for-single-value-in-dashboard-and...

Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...