<?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: Error in Splunk dashboard while loading in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Error-in-Splunk-dashboard-while-loading/m-p/695200#M56932</link>
    <description>&lt;P&gt;Have you looked at the chromestatus URL - that tells you the events were deprecated in July 2024 - you can re-enable them, but you may want to look at your script against that explanation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 05 Aug 2024 06:19:19 GMT</pubDate>
    <dc:creator>bowesmana</dc:creator>
    <dc:date>2024-08-05T06:19:19Z</dc:date>
    <item>
      <title>Error in Splunk dashboard while loading</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Error-in-Splunk-dashboard-while-loading/m-p/695160#M56926</link>
      <description>&lt;P&gt;Hello Splunkers!!&lt;BR /&gt;&lt;BR /&gt;I am getting below message populating while loading Splunk dashboard as I am using one javascript and css in the dashboard. Please help to fix this error so I will completely disappear.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error while loading Splunk dashboard.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="uagraw01_0-1722698631596.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/32028iC021D7FCC9C78897/image-size/medium?v=v2&amp;amp;px=400" role="button" title="uagraw01_0-1722698631596.png" alt="uagraw01_0-1722698631596.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Error showing in developer console&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="uagraw01_1-1722698654697.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/32029iE7203C467E36FE73/image-size/medium?v=v2&amp;amp;px=400" role="button" title="uagraw01_1-1722698654697.png" alt="uagraw01_1-1722698654697.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 03 Aug 2024 15:27:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Error-in-Splunk-dashboard-while-loading/m-p/695160#M56926</guid>
      <dc:creator>LogUx</dc:creator>
      <dc:date>2024-08-03T15:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Splunk dashboard while loading</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Error-in-Splunk-dashboard-while-loading/m-p/695187#M56929</link>
      <description>&lt;P&gt;Can you post your javascript?&lt;/P&gt;</description>
      <pubDate>Sun, 04 Aug 2024 23:43:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Error-in-Splunk-dashboard-while-loading/m-p/695187#M56929</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2024-08-04T23:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Splunk dashboard while loading</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Error-in-Splunk-dashboard-while-loading/m-p/695193#M56931</link>
      <description>&lt;LI-CODE lang="javascript"&gt;require(["jquery", "splunkjs/mvc", "splunkjs/mvc/simplexml/ready!"], function($, mvc) {
  
    // Properties
    var earliest = 0;
    var latest = 0;
  
    // Update Lead Time to the correct format
    function setFormatLeadTime() {
        $("#lead_time svg text").each(function() {
            if(!$(this).text().match(":")) {
                $(this).text(secondsTimeSpanToDHM($(this).text()));
            }
        });
    }
    
    // Open a URL in a new window
    function setUrl(url) {
        window.open(url, "_blank");
        return false;
    }
  
    // Default Token Components
    var tokens = mvc.Components.get("default");
    
    // Set On-Click listeners
    $("#throughput .splunk-chart").click(function(){ setUrl("/app/customer_reports/throughput_report_-_0136_system?form.time.earliest="+earliest+"&amp;amp;form.time.latest="+latest+"") });
    $("#availability .splunk-chart").click(function(){ setUrl("/app/customer_reports/availability_report?form.time.earliest="+earliest+"&amp;amp;form.time.latest="+latest+"") });
    $("#completeness .splunk-chart").click(function(){ setUrl("/app/customer_reports/completeness_order?form.time.earliest="+earliest+"&amp;amp;form.time.latest="+latest+"") });
    $("#on_time .splunk-chart").click(function(){ setUrl ("/app/customer_reports/on-time_performance_report_customer?form.time.earliest="+earliest+"&amp;amp;form.time.latest="+latest+"") });
    $("#utilization .splunk-chart").click(function(){ setUrl("/app/customer_reports/load_forming_logic?form.time.earliest="+earliest+"&amp;amp;form.time.latest="+latest+"") });
    $("#partitioning .splunk-chart").click(function(){ setUrl("/app/customer_reports/load_forming_logic?form.time.earliest="+earliest+"&amp;amp;form.time.latest="+latest+"") });
    $("#group_coherence .splunk-chart").click(function(){ setUrl("/app/customer_reports/load_forming_logic?form.time.earliest="+earliest+"&amp;amp;form.time.latest="+latest+"") });
    $("#lead_time .splunk-chart").click(function(){ setUrl("/app/customer_reports/lead_time_report?form.time.earliest="+earliest+"&amp;amp;form.time.latest="+latest+"") });
    $("#productivity .splunk-chart").click(function(){ setUrl("/app/customer_reports/productivity_total?form.time.earliest="+earliest+"&amp;amp;form.time.latest="+latest+"") });
    
    // Set Token listener for Lead Time
    tokens.on("change:lead_time", function(model, value, options) {
        setTimeout(function() { setFormatLeadTime() }, 500);
        setTimeout(function() { setFormatLeadTime() }, 1500);
    });
    
    // Set Token listener for earliest_epoch
    tokens.on("change:time.earliest_epoch", function(model, value, options) {
        earliest = value;
    }); 
    
    // Set Token listener for latest_epoch
    tokens.on("change:time.latest_epoch", function(model, value, options) {
        latest = value;
    }); 

    // Attribute listener for date time picker 
    $("#time div[data-test='time-range-dropdown'] button").attrchange({
        trackValues: true, /* Default to false, if set to true the event object is updated with old and new value.*/
        callback: function (event) { 
            //event               - event object
            //event.attributeName - Name of the attribute modified
            //event.oldValue      - Previous value of the modified attribute
            //event.newValue      - New value of the modified attribute
            //Triggered when the selected elements attribute is added/updated/removed
            if (event.attributeName == "aria-expanded" &amp;amp;&amp;amp; event.newValue == "true") {
                $("div[data-test-panel-id='date'] &amp;gt; button[data-test='toggle']").click();
                $("div[data-test='range-type'] button").attrchange({
                    trackValues: true,
                    callback: function (event) { 
                        $("button[data-test-value='since']").click()
                    }
                });
                $("div[data-test-value='between'] &amp;gt; button[data-test='toggle']").click(); 
            }
        }
    });

});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/6367"&gt;@bowesmana&lt;/a&gt;&amp;nbsp;Please check the above pasted script.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2024 04:12:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Error-in-Splunk-dashboard-while-loading/m-p/695193#M56931</guid>
      <dc:creator>LogUx</dc:creator>
      <dc:date>2024-08-05T04:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Splunk dashboard while loading</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Error-in-Splunk-dashboard-while-loading/m-p/695200#M56932</link>
      <description>&lt;P&gt;Have you looked at the chromestatus URL - that tells you the events were deprecated in July 2024 - you can re-enable them, but you may want to look at your script against that explanation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2024 06:19:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Error-in-Splunk-dashboard-while-loading/m-p/695200#M56932</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2024-08-05T06:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Splunk dashboard while loading</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Error-in-Splunk-dashboard-while-loading/m-p/695310#M56962</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/6367"&gt;@bowesmana&lt;/a&gt;&amp;nbsp;Could you help me to understand what does it actually mean ?&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2024 16:34:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Error-in-Splunk-dashboard-while-loading/m-p/695310#M56962</guid>
      <dc:creator>LogUx</dc:creator>
      <dc:date>2024-08-05T16:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Splunk dashboard while loading</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Error-in-Splunk-dashboard-while-loading/m-p/695506#M56982</link>
      <description>&lt;P&gt;Unfortunately not - I don't understand it myself&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2024 07:13:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Error-in-Splunk-dashboard-while-loading/m-p/695506#M56982</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2024-08-07T07:13:10Z</dc:date>
    </item>
  </channel>
</rss>

