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!

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

🔐 Trust at Every Hop: How mTLS in Splunk Enterprise 10.0 Makes Security Simpler

From Idea to Implementation: Why Splunk Built mTLS into Splunk Enterprise 10.0  mTLS wasn’t just a checkbox ...