Dashboards & Visualizations

How to create a histogram?

shahwill
Engager

Hey guys,

I'm trying to display some data in a histogram, is there a command that will allow me to create a histogram?

Say the fields I want to use are JavaMemory as the x axis and the amount of times it went over 75 as the y axis. The source of the field would just be source="C:\blah"

Any help is greatly appreciated!

Tags (3)

dwaddle
SplunkTrust
SplunkTrust

Your example is not strictly a histogram. A basic histogram for a variable would be a chart of the frequency of values for that variable. A simple histogram for your JavaMemory field might work like:

source=C:\blah | chart count by JavaMemory

If you want to filter the criteria going into the histogram, then maybe this:

source=C:\blah | search JavaMemory > 75 | chart count by JavaMemory

Does this get close to what you're looking for?

dwaddle
SplunkTrust
SplunkTrust

Do you have an update?

0 Karma
Get Updates on the Splunk Community!

The Latest Cisco Integrations With Splunk Platform!

Join us for an exciting tech talk where we’ll explore the latest integrations in Cisco + Splunk! We’ve ...

Enterprise Security Content Update (ESCU) | New Releases

In April, the Splunk Threat Research Team had 2 releases of new security content via the Enterprise Security ...

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

What are Community Office Hours?Community Office Hours is an interactive 60-minute Zoom series where ...