<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to switch the dashboard after a regular interval in the app ? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-switch-the-dashboard-after-a-regular-interval-in-the-app/m-p/749177#M58931</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This is what did the trick for me - save it as&amp;nbsp;"dashboard-carousel.js"&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;(function() {
    // List of dashboard URLs to cycle through
    const urls = [
        "http://10.......",
        "http://10.......",
        "http://10......."
    ];

    // Time interval for cycling (in milliseconds)
    const interval = 10000; // 10 seconds

    // Get the current index from the URL query parameter (default to 0)
    const urlParams = new URLSearchParams(window.location.search);
    let currentIndex = parseInt(urlParams.get("index")) || 0;

    // Function to redirect to the next dashboard
    function cycleDashboards() {
        // Increment the index for the next cycle
        currentIndex = (currentIndex + 1) % urls.length;

        // Redirect to the next URL with the updated index as a query parameter
        window.location.href = `${urls[currentIndex]}?index=${currentIndex}`;
    }

    // Start the cycling process after the specified interval
    setTimeout(cycleDashboards, interval);
})();&lt;/LI-CODE&gt;&lt;P&gt;Then reference it like this in your dashboard XML&lt;BR /&gt;&lt;BR /&gt;&amp;lt;dashboard version="1.0" hideChrome="true"&amp;nbsp; script="dashboard-carousel.js"&amp;gt;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Jul 2025 10:13:42 GMT</pubDate>
    <dc:creator>tomapatan</dc:creator>
    <dc:date>2025-07-03T10:13:42Z</dc:date>
    <item>
      <title>How to switch the dashboard after a regular interval in the app ?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-switch-the-dashboard-after-a-regular-interval-in-the-app/m-p/743259#M58510</link>
      <description>&lt;P&gt;Hi Team&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Is it possible to&amp;nbsp;switch the dashboard after a regular interval in the same app ?&amp;nbsp;&lt;BR /&gt;I've around 15 dashboards in the same app and i want to switch to next dashboard after every 2 mins.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Real_captain_0-1743604964762.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/38425iAB21089489B79522/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Real_captain_0-1743604964762.png" alt="Real_captain_0-1743604964762.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;In the above attached screenshot , i have around 15 dashboards and the home screen is always "ESES Hotline SUMMARY"&amp;nbsp; dashboard.&amp;nbsp;&lt;BR /&gt;Is it possible to move automatically to next dashboard "ESES Hotline" after 2 mins and then&amp;nbsp;move automatically to next dashboard "EVIS Application" after 2 mins and so on.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2025 14:44:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-switch-the-dashboard-after-a-regular-interval-in-the-app/m-p/743259#M58510</guid>
      <dc:creator>Real_captain</dc:creator>
      <dc:date>2025-04-02T14:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to switch the dashboard after a regular interval in the app ?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-switch-the-dashboard-after-a-regular-interval-in-the-app/m-p/743281#M58511</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/263966"&gt;@Real_captain&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;There isn't a built-in Splunk Web feature for this rotation. I would recommend using a browser extension such as "Tab Rotate" - these often have configurations like the amount of time and rate at which different tabs are rotated/reloaded.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Alternatively if you are using Classic dashboards you could write some custom javascript but I think you'll probably have better success, quicker, with an off-the-shelf browser extension.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt; &lt;STRONG&gt;Did this answer help you? If so, please consider&lt;/STRONG&gt;:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding kudos to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2025 15:43:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-switch-the-dashboard-after-a-regular-interval-in-the-app/m-p/743281#M58511</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-04-02T15:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to switch the dashboard after a regular interval in the app ?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-switch-the-dashboard-after-a-regular-interval-in-the-app/m-p/743292#M58512</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I don't think that you can do this with core splunk. But if you are using classic dashboards then maybe this is doable with javascript? And there is also react ui (see splunkui.splunk.com) which can help you with it? Maybe someone else who are more familiar with those and could help you?&lt;/P&gt;&lt;P&gt;Also this app maybe help you&amp;nbsp;&lt;A href="https://splunkbase.splunk.com/app/6859" target="_blank"&gt;https://splunkbase.splunk.com/app/6859&lt;/A&gt;&amp;nbsp;?&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2025 19:03:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-switch-the-dashboard-after-a-regular-interval-in-the-app/m-p/743292#M58512</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2025-04-02T19:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to switch the dashboard after a regular interval in the app ?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-switch-the-dashboard-after-a-regular-interval-in-the-app/m-p/749177#M58931</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This is what did the trick for me - save it as&amp;nbsp;"dashboard-carousel.js"&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;(function() {
    // List of dashboard URLs to cycle through
    const urls = [
        "http://10.......",
        "http://10.......",
        "http://10......."
    ];

    // Time interval for cycling (in milliseconds)
    const interval = 10000; // 10 seconds

    // Get the current index from the URL query parameter (default to 0)
    const urlParams = new URLSearchParams(window.location.search);
    let currentIndex = parseInt(urlParams.get("index")) || 0;

    // Function to redirect to the next dashboard
    function cycleDashboards() {
        // Increment the index for the next cycle
        currentIndex = (currentIndex + 1) % urls.length;

        // Redirect to the next URL with the updated index as a query parameter
        window.location.href = `${urls[currentIndex]}?index=${currentIndex}`;
    }

    // Start the cycling process after the specified interval
    setTimeout(cycleDashboards, interval);
})();&lt;/LI-CODE&gt;&lt;P&gt;Then reference it like this in your dashboard XML&lt;BR /&gt;&lt;BR /&gt;&amp;lt;dashboard version="1.0" hideChrome="true"&amp;nbsp; script="dashboard-carousel.js"&amp;gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jul 2025 10:13:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-switch-the-dashboard-after-a-regular-interval-in-the-app/m-p/749177#M58931</guid>
      <dc:creator>tomapatan</dc:creator>
      <dc:date>2025-07-03T10:13:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to switch the dashboard after a regular interval in the app ?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-switch-the-dashboard-after-a-regular-interval-in-the-app/m-p/749181#M58932</link>
      <description>&lt;P&gt;While that is doable with JS code in simpleXML dashboard it's worth considering what's the goal here.&lt;/P&gt;&lt;P&gt;I mean each load of the dashboard (unless it uses a scheduled report to power the widgets) will execute searches. If their results aren't supposed to change you might - instead of go for rotating dashboards, create one bigger dashboard and use JS to toggle visibility of panels - this will give you the same result carouseling the panels but will not stress the server by spawning the same searches repeatedly.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jul 2025 12:23:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-switch-the-dashboard-after-a-regular-interval-in-the-app/m-p/749181#M58932</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2025-07-03T12:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to switch the dashboard after a regular interval in the app ?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-switch-the-dashboard-after-a-regular-interval-in-the-app/m-p/749183#M58933</link>
      <description>&lt;P&gt;Good point! My refresh interval would have definitely been set to more than 10 seconds, so good call on that. Unfortunately, I spoke too soon—this solution won’t work as it refreshes the dashboard for all users, which isn’t the intended behaviour. I still need something similar to looping through browser tabs, but without requiring the installation of an extension.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jul 2025 12:44:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-switch-the-dashboard-after-a-regular-interval-in-the-app/m-p/749183#M58933</guid>
      <dc:creator>tomapatan</dc:creator>
      <dc:date>2025-07-03T12:44:59Z</dc:date>
    </item>
  </channel>
</rss>

