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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...