Dashboards & Visualizations

How do I create a bar chart showing the different types of Windows event log sourcetype?

5plunked
Explorer

Hi,

I am just trying to create a simple bar graph to show the count of the different type of windows log sourcetype, however it does not seems to work.

field: sourcetype
values: WMI:WinEventLog:Application, WinEventLog:Security, WinEventLog:System

This is my current search:
host= count(sourcetype="WinEventLog:System", sourcetype="WinEventLog:Security", sourcetpye="WMI:WinEventLog:Application")

Thank you in advance!

0 Karma
1 Solution

5plunked
Explorer

host= source=* | stats count by source

View solution in original post

0 Karma

woodcock
Esteemed Legend

Like this:

tstats count WHERE source=* BY source
0 Karma

5plunked
Explorer

host= source=* | stats count by source

0 Karma
Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...