Splunk Search

How to create Multi-line linechart?

fishmong3r0
Loves-to-Learn Lots

Guys, I have a very simple output that looks like:

week car total broken
31 Volvo 100 20
31 Hyundai 130 10
31 Ford 240 44
32 Volvo 98 15
32 Hyundai 143 7
32 Ford 238 52

 

What I need is a linechart where X-axis is week number and there are 2 lines per product - total and broken.

This works for one, but not sure how to include the other:

 

 

query | chart values(broken) by week, car

 

 

Labels (1)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust
| chart values(total) as total values(broken) as broken by week car
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...