Dashboards & Visualizations

Visualization of Frequency

zacksoft
Contributor

I have a log file that contains a field 'price'. The field 'price' has multiple values . It varies from 1 dollar to 254 dollar.
I want a frequency table (possibly in visualization) where it should show, how many times in my selected time range had a particular value.
Example : 2 dollar was present 9 times
OR 7 dollar was present 20 times
etc...

Tags (1)
0 Karma
1 Solution

mayurr98
Super Champion

try this:

<base search> | stats count as frequency by price

let me know if this helps!

View solution in original post

0 Karma

mayurr98
Super Champion

try this:

<base search> | stats count as frequency by price

let me know if this helps!

0 Karma

niketn
Legend

@zacksoft, how about the following:

 <yourBaseSearch>
| chart count by product price 
____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...