Dashboards & Visualizations

Using Sparkline to show successful logins

cburr2012
Path Finder

Hello all,

I am wanting to build a panel in my Dashboard that allows me to see a small sample of the login trends of users.

I think a Sparkline would be a good method to use, based on its compact size and trend-viewing capability.

I've been tinkering around with Sparkline but can't quite get what I'm looking for. I liked the example Splunk Documentation gave of having the magnitudes of the Earthquakes, I feel like my solution should be easier than that. Alas, I am stuck.

My query asks: search this_index this_sourcetype logon_message etc.etc. | stats count by Account_Name | sort count

This shows me my account_names with the highest number of successful logins. Now I'd like to see that in a Sparkline over a short period of time.

Thoughts? Thanks!

Tags (1)
0 Karma
1 Solution

sdaniels
Splunk Employee
Splunk Employee

If you do '... | chart sparkline count by Account_Name' is it not giving you what you want?

You can use time modifiers like 'earliest' and 'latest' to specify a time period for your saved search.

http://docs.splunk.com/Documentation/Splunk/4.3.3/SearchReference/SearchTimeModifiers

View solution in original post

sdaniels
Splunk Employee
Splunk Employee

If you do '... | chart sparkline count by Account_Name' is it not giving you what you want?

You can use time modifiers like 'earliest' and 'latest' to specify a time period for your saved search.

http://docs.splunk.com/Documentation/Splunk/4.3.3/SearchReference/SearchTimeModifiers

cburr2012
Path Finder

http://docs.splunk.com/Documentation/Splunk/4.3.3/SearchReference/SearchTimeModifiers provided the proper documentation I needed. Thanks sdaniels.

0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

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