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!

Why You Can't Miss .conf25: Unleashing the Power of Agentic AI with Splunk & Cisco

The Defining Technology Movement of Our Lifetime The advent of agentic AI is arguably the defining technology ...

Deep Dive into Federated Analytics: Unlocking the Full Power of Your Security Data

In today’s complex digital landscape, security teams face increasing pressure to protect sprawling data across ...

Your summer travels continue with new course releases

Summer in the Northern hemisphere is in full swing, and is often a time to travel and explore. If your summer ...