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!

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...