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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...