Dashboards & Visualizations

Tabs in Splunk dashboard not working after Splunk 7.3 upgrade

sahabhi606
Path Finder

Hi all,

We configured tabs in Splunk dashboard using below blog.

https://www.splunk.com/en_us/blog/tips-and-tricks/making-a-dashboard-with-tabs-and-searches-that-run...

It was working fine on Splunk 7.0 and after upgrade of Splunk from 7.0 to 7.3.3, the tabs are not working anymore. We checked in Splunk answers, and found a similar issue, which was fixed by upgrade of tabs.js (as suggested in the post below)

https://answers.splunk.com/answers/791943/tabs-in-dashboard.html

We tried the same, but still the tabs are not working as expected.

  • it is not accepting control tokens
  • wiring of the tabs are not working as expectation

anyone had that issue and knows how to fix it?

Thanks !

gjanders
SplunkTrust
SplunkTrust

Grab the newest version from splunk-dashboard-tabs-exampleon github , you may need to refresh your cache as well as that can be an issue after this update...

0 Karma

teresachila
Path Finder

I tried the solution in https://answers.splunk.com/answers/791943/tabs-in-dashboard.html and it's working for me. In particular, I changed the line
$('a[data-toggle="tab"]').on('shown', selectTab);
to:
$('a[class="toggle-tab"]').on('click shown', selectTab);

I'm not using a submit button or token so I deleted all the lines related to tokens. But if you do, there is another line with "data-toggle" that you have to change.

Also make sure you clear your browser cache as it may be caching the old file.

0 Karma
Get Updates on the Splunk Community!

Splunk App for Anomaly Detection End of Life Announcment

Q: What is happening to the Splunk App for Anomaly Detection?A: Splunk is officially announcing the ...

Aligning Observability Costs with Business Value: Practical Strategies

 Join us for an engaging Tech Talk on Aligning Observability Costs with Business Value: Practical ...

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...