Dashboards & Visualizations

compare relative data in splunk dashboard panels

kranthimutyala
Path Finder

Hi Splunkers,

Im working on Dashboard which has two panels which shows the status of Bots.First panel shows the status of all the bots and second shows the list of unsuccessful bots.My requirement is to show bot in the unsuccessful panel if the latest run of the bot is not successful and if the latest run of the bot is successful then there shouldn't be any entry in the unsuccessful bots panel.Is there any option where we can compare the current status and remove the unsuccessful entries from the below panel. Attached is the screen shot for the reference.Thanks for any help here.

First panel query :  index="abc" (TYPE="Run bot finished" OR TYPE="Run bot Deployed") | $bot$ | $env$ | table _time,BOT_NAME, STATUS

Second Panel query: index="abc" (TYPE="Run bot finished" OR TYPE="Run bot Deployed") STATUS="Unsuccessful" | $bot$ | $env$ | table _time,BOT_NAME,STATUS

 

Screenshot 2021-01-30 at 10.25.25 AM.png

Labels (1)
Tags (3)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust
index="abc" (TYPE="Run bot finished" OR TYPE="Run bot Deployed") | $bot$ | $env$ | stats latest(_time) as _time latest(STATUS) as STATUS by BOT_NAME | where STATUS="Unsuccessful" | table _time,BOT_NAME,STATUS

View solution in original post

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust
index="abc" (TYPE="Run bot finished" OR TYPE="Run bot Deployed") | $bot$ | $env$ | stats latest(_time) as _time latest(STATUS) as STATUS by BOT_NAME | where STATUS="Unsuccessful" | table _time,BOT_NAME,STATUS
0 Karma
Get Updates on the Splunk Community!

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...