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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...