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!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...