Dashboards & Visualizations

Charting problem

simonattardGO
Path Finder

Hi all,

I have serveral log lines which have the following format:

TIMESTAMP | CLIENT-TYPE | CLIENT-NAME | PROFIT |

CLIENT-TYPE and PROFIT are both extracted fields.

I would like to obtain a plot with the following axes: Y-axis = Average Profit and X-Axis = Client Type, i.e. the search should calculate the average profit for each client-type and then plot the results.

Can this be obtained using 'chart'?

Thanks

Tags (1)
0 Karma

okrabbe_splunk
Splunk Employee
Splunk Employee

Yes, this will be very easy using the chart command.
... | chart avg(profit) by client-type

0 Karma
Get Updates on the Splunk Community!

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...