Dashboards & Visualizations

Creating a stacked line chart / timechart

kenbaugher
Path Finder

We have data similar to below and are looking to created a stacked timechart, however setting the stackmode does not seem to have any impact on the chart


timestamp System Value
TIME1 SYS1 VALUE1.1
TIME1 SYS2 VALUE2.1
TIME1 SYS3 VALUE3.1
TIME1 SYS4 VALUE4.1
TIME2 SYS1 VALUE1.2
TIME2 SYS2 VALUE2.2
TIME2 SYS3 VALUE3.2
TIME2 SYS4 VALUE4.2

timechart latest(Value) by System

<option name="charting.chart.stackMode">stacked</option>

Labels (1)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust

You could consider area charts which sort of mixes line and column charts

View solution in original post

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Stacked mode is not a valid option for line charts - try column charts

0 Karma

kenbaugher
Path Finder

On one hand thank you very much, changing this to a column makes the stacked work.   On the other hand the documentation I was reading did list the stackmode under line charts, so that is a bit confusing.

Chart configuration reference - Splunk Documentation

The teams would prefer the line graphs as that is more common for us, but this does get the desired visual.

Thank you

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

You could consider area charts which sort of mixes line and column charts

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...