Dashboards & Visualizations

job success percentage to be be displayed in dashboard

Mohsin123
Path Finder

Hi ,

I have to implement this in a dashboard .
i have to create a dashboard for a job status percentage formula , the logic is as below :

in a 5 min interval , there is job status information in splunk :

sample

status=complete


status=running


status=running


so and so ....

Logic:
say within 5 min interval, wen the data ingests in ,

Running : 10
Succeeded:5
Failed: 2
Killed: 1

so percentage of job succeeded =( total jobs succeeded / total jobs already done)* 100
=(5/8(5+2+1))* 100

Now after 5 min ,

Running : 2+5 (new jobs added)
Succeeded: 5
Failed: 1
Killed: 2

so percentage of job succeeded =( total jobs succeeded / total jobs already done)* 100
=(5 (now) + 5 from(previous 5 min))/16 (5+2+1(from previous) + (5+1+2)(from now)) * 100

dashboard requirement :
show a single value of job success in live in percentage .

rules:
1. A single job has to be considered once .
2. in that gap of 5 minutes , whatevr job has a state change should also appear in the pecentage

Thanks

Tags (1)
0 Karma
Get Updates on the Splunk Community!

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to Officially Supported Splunk ...