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!

Aligning Observability Costs with Business Value: Practical Strategies

 Join us for an engaging Tech Talk on Aligning Observability Costs with Business Value: Practical ...

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...

Splunk Up Your Game: Why It's Time to Embrace Python 3.9+ and OpenSSL 3.0

Did you know that for Splunk Enterprise 9.4, Python 3.9 is the default interpreter? This shift is not just a ...