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!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...