Dashboards & Visualizations

Timechart multiple values per day

jenkinsta
Path Finder

I have a dataset and looking for a timechart span=1d for the data I have from a location. 

| table _time Cases Hospitalizations ICO Recoveries Deaths

I want to display all these in one chart y exis over the past 7 days. 

 

 

Labels (1)
0 Karma

bowesmana
SplunkTrust
SplunkTrust

How about

| timechart span=1d sum(Cases) as Cases sum(Hospitalizations) as Hospitalizations sum(ICO) as ICO sum(Recoveries) as Recoveries sum(Deaths) as Deaths

However, there are 5 data elements above, but how many locations do you have and what granularity is _time in your source data, as sum() might not be the correct aggregation, e.g. if the value in your data reflects the latest value at that time, then max() would be correct.

but if you have a location split by then you will rapidly reach a number of series on the chart that will make it unreadable.

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 ...