Dashboards & Visualizations

Trend data over Backlog

Shristi2906
Engager

MicrosoftTeams-image.png

I want to get the ticket count for the aging of backlog tickets on a weekly basis. The aging of the ticket depends on the date the ticket was opened. The count should be calculated every Sunday, and the tickets should be divided depending upon the ranges mentioned, i.e. 0-5 days,6-15 and so on.

Labels (2)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

What data do you have to work with?

0 Karma

Shristi2906
Engager

The data is as below :

Shristi2906_0-1604320026057.png

 

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust
| eval daysunresolved=if(isnull(resolved_at),round((now()-strptime(reported_date_time,"%Y-%m-%d %H:%M:%S"))/(60*60*24),0),null)
| eval agebracket=case(daysunresolved<6,"0-5 Days",daysunresolved<16,"6-15 Days",daysunresolved>15,">15 Days",true,null)
| stats count by agebracket

Schedule this to run every Sunday and save the results to a summary index, making sure the time the query executed is saved.

You can then create a chart based on the summary index, using the time the query executed as your x-axis.

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Guided Onboarding with Auto-schema Is Now Generally Available

  We are excited to announce the General Availability of Guided Onboarding with Auto-Schematization ...

ATTENTION: We’re Moving! (AGAIN!)

The Splunk Community Slack is undergoing a system migration to keep our workspace secure and ...

Deep Dive: Optimizing Telemetry Pipelines in Splunk Observability Cloud

In this session, we will peel back the layers of Splunk Observability Cloud’s cost-optimization features. ...