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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...