Dashboards & Visualizations

Line chart over set time (a week) total amount of a day

dmarcantonionw
Engager

Still somewhat learning Splunk but looking to do the following:

*Count total number of password resets from index="okta" AND result="User updated their Okta password" for a 24 hour window.
* Chart out over the course of one business week how many users have changed their passwords.

Ideally I'd like to run this report at the end of the week to visually see trends of people changing passwords and share with my team. I can pull the total count for the last 24 hours, I just need the total for each day over the last business week.

Tags (1)
0 Karma

maciep
Champion

I think you want the timechart command

index="okta" AND result="User updated their Okta password" earliest=@w0 | timechart partial=f span=1d count 

The earliest filter can (should) be replaced by a timepicker (eg, week to date). By default, timechart will try to determine the interval to perform the aggregates over, but you can tell it the span as well (1 day in this case). Also, you can tell timechart to not include partial intervals. For example, if you ran this at Friday at 8am, it wouldn't include results for Friday, because it hasn't been a full day yet.

0 Karma
Get Updates on the Splunk Community!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...