Splunk Search

Linechart with multiple lines of data on one chart?

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?

0 Karma

Super Champion

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

0 Karma