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!

Developer Spotlight with Brett Adams

In our third Spotlight feature, we're excited to shine a light on Brett—a Splunk consultant, innovative ...

Index This | What can you do to make 55,555 equal 500?

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

Say goodbye to manually analyzing phishing and malware threats with Splunk Attack ...

In today’s evolving threat landscape, we understand you’re constantly bombarded with phishing and malware ...