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!

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...

Spotting Financial Fraud in the Haystack: A Guide to Behavioral Analytics with Splunk

In today's digital financial ecosystem, security teams face an unprecedented challenge. The sheer volume of ...

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability As businesses scale ...