Splunk Search

How to get the count of the value and displaying it as a number in a bar graph?

rkaakaty
Path Finder

Hi,

I am trying to count how many certain TYPES there are in the data I am using.

For example, there are three types

  • Confirmed
  • Likely
  • Potential

I want the graph to look something like this:

alt text

This is my search so far:

eventtype=qualys_vm_detection_event STATUS!="FIXED"
| fillnull value=- PROTOCOL
| table TYPE, QID
| head 10
0 Karma
1 Solution

cmerriman
Super Champion

can you just add a |stats count by TYPE
and visualize as a column chart?

View solution in original post

cmerriman
Super Champion

can you just add a |stats count by TYPE
and visualize as a column chart?

Get Updates on the Splunk Community!

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...