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!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...