Splunk Search

Linechart with multiple lines of data on one chart?

sed1565
New Member

Dummy question.
I have a CSV file that contains three columns (fields)

<date>, <value>,<group>
    2017-01-01, 10, g1
    2017-01-02, 11, g1
    2017-01-03, 12, g1
    2017-01-01, 20, g2
    2017-01-02, 21, g2
    2017-01-03, 22, g2

How can I draw two linecharts with Y-axis is <value> , x-axis is <date>, with respect to two groups?
Thanks,

0 Karma

cmerriman
Super Champion

Try |chart limit=0 sum(value) by date group

0 Karma
Get Updates on the Splunk Community!

OpenTelemetry for Legacy Apps? Yes, You Can!

This article is a follow-up to my previous article posted on the OpenTelemetry Blog, "Your Critical Legacy App ...

UCC Framework: Discover Developer Toolkit for Building Technology Add-ons

The Next-Gen Toolkit for Splunk Technology Add-on Development The Universal Configuration Console (UCC) ...

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...