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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...