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!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...