Dashboards & Visualizations

Problem with using tabs in dashboard

Tom1187
Path Finder

Hi there.
I have two simple dashboards, that shows pretty similar charts. I would like to combine both of the dashboards into one dashboard with tabs. Each tab for each dashboard.
I know this is achievable with sideview utils, but right now I don't have the time nor the knowledge​ to learn how to use it. I'm trying to keep it simple. I have found this blog post: https://www.splunk.com/blog/2015/03/30/making-a-dashboard-with-tabs-and-searches-that-run-when-click...
I've done everything​ as written. It looked promising since The tabs are there, but nothing happens when I click on them. It looks like the attribute "data-elements" doesn't recognize any change I doing in it.
Has anyone ran into this problem before? Do you have other simple way to use tabs?
Thanks

0 Karma
1 Solution

Tom1187
Path Finder

Yeah, sorry about that.
Doesn't matter now. I found that the problem was in the tabs.js file.
I don't know how, but when I copied the entire file from the example app to my app, a ">" was missing from the file. Took me a while to find the problem, but after it was fixed the tabs are working perfectly.

View solution in original post

0 Karma

Tom1187
Path Finder

Yeah, sorry about that.
Doesn't matter now. I found that the problem was in the tabs.js file.
I don't know how, but when I copied the entire file from the example app to my app, a ">" was missing from the file. Took me a while to find the problem, but after it was fixed the tabs are working perfectly.

0 Karma

somesoni2
Revered Legend

Glad it's working for you now. Don't forget to close the question by accepting this.

0 Karma

kuser1234
New Member

I'm having the same issue. Where did you need to add a ">"?
TY.

0 Karma

rjthibod
Champion

The community can best help if you share the SimpleXML code that you are generating. Otherwise, we can only speculate.

0 Karma
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...