Splunk Search

Bar chart

sahana
Engager

I have another requirement like, I want to show an bar chart which should show the total login count in basis of the time period we submit

 

for example if we select 2 days it should show the bar chart where y is for login count and x is for time slection (in basis of day interval like 6thfeb  7th feb like this)

Labels (1)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @sahana,

your question is reaally vague!

The search depends on the data you're speking.

e.g., if you're speaking of Windows logins (EventCode=4624) you could use the timechart command, something like this:

index=wineventlog EventCode=4624
| timechart count

Ciao.

Giuseppe

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 ...