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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Laser Bananas and Edge Hubs: Exploring Operational Technology (OT) Data Through a ...

  OT is a different environment to traditional IT and can have interesting challenges when interfacing the ...

Event Series: Mastering AI Tokenomics and Splunk Agent Observability

Beyond the Black Box: Correlating AI Performance and Tokenomics with Splunk Agent Observability   As ...

span_metrics: The OpenTelemetry-Idiomatic Way to See Inside Your Services

You open a trace in Splunk Observability Cloud and everything looks fine. One root span, order-pipeline, with ...