Dashboards & Visualizations

Trend data over Backlog

Shristi2906
Engager

MicrosoftTeams-image.pngMicrosoftTeams-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.pngShristi2906_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!

At .conf26, Don’t Just See What’s Next. Help Shape It at Innovation Labs.

Long before a new capability reaches the keynote stage, it begins as an idea waiting to be tested. At ...

Forwarder Topology Guidance: Intermediate HF vs Intermediate UF

Why Universal Forwarders Should Not Be Used as Intermediate Forwarders A practical Splunk forwarding topology ...

Data Management Digest – August 2026

Data Management Digest   Welcome to the August 2026 edition of Data Management Digest! August was a big month ...