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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...