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!

Changes to Splunk Instructor-Led Training Completion Criteria

We’re excited to share an update to our instructor-led training program that enhances the learning experience ...

Stay Connected: Your Guide to January Tech Talks, Office Hours, and Webinars!

❄️ Welcome the new year with our January lineup of Community Office Hours, Tech Talks, and Webinars! 🎉 ...

Preparing your Splunk Environment for OpenSSL3

The Splunk platform will transition to OpenSSL version 3 in a future release. Actions are required to prepare ...