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 Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...