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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

Splunk is officially part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint.   Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...