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!

Meet the .conf26 AI Agent Buildathon Winners

At the .conf26 AI Agent Buildathon, Splunk users turned their operational expertise into working AI agents ...

Trusted Autonomy in the SOC: A Maturity Journey

AI is compressing attacker timelines and pushing SOC teams beyond human capacity thresholds. The next SOC ...

Supercharging Windows Security Detection Performance: Introducing Hybrid Field ...

Windows event logs—from Security auditing and Sysmon to PowerShell script blocks—form the operational backbone ...