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.

Get Updates on the Splunk Community!

Update Your SOAR Apps for Python 3.13: What Community Developers Need to Know

To Community SOAR App Developers - we're reaching out with an important update regarding Python 3.9's ...

October Community Champions: A Shoutout to Our Contributors!

As October comes to a close, we want to take a moment to celebrate the people who make the Splunk Community ...

Automatic Discovery Part 2: Setup and Best Practices

In Part 1 of this series, we covered what Automatic Discovery is and why it’s critical for observability at ...