<?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 Can we reload the JavaScript in an app without restarting Splunk? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-reload-the-JavaScript-in-an-app-without-restarting-Splunk/m-p/370704#M24228</link>
    <description>&lt;P&gt;Hi, &lt;/P&gt;

&lt;P&gt;I have an app in Splunk version 6.4. My app uses JavaScript and a CSS file. As per my knowledge if I change the logic of JavaScript only on Splunk restart the change in JavaScript will be reflected in dashboard. &lt;/P&gt;

&lt;P&gt;Is there any way to reflect the change in java script without splunk web restart?&lt;/P&gt;</description>
    <pubDate>Wed, 03 Jan 2018 09:37:19 GMT</pubDate>
    <dc:creator>vkrishnachand</dc:creator>
    <dc:date>2018-01-03T09:37:19Z</dc:date>
    <item>
      <title>Can we reload the JavaScript in an app without restarting Splunk?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-reload-the-JavaScript-in-an-app-without-restarting-Splunk/m-p/370704#M24228</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;

&lt;P&gt;I have an app in Splunk version 6.4. My app uses JavaScript and a CSS file. As per my knowledge if I change the logic of JavaScript only on Splunk restart the change in JavaScript will be reflected in dashboard. &lt;/P&gt;

&lt;P&gt;Is there any way to reflect the change in java script without splunk web restart?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2018 09:37:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-reload-the-JavaScript-in-an-app-without-restarting-Splunk/m-p/370704#M24228</guid>
      <dc:creator>vkrishnachand</dc:creator>
      <dc:date>2018-01-03T09:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: Can we reload the JavaScript in an app without restarting Splunk?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-reload-the-JavaScript-in-an-app-without-restarting-Splunk/m-p/370705#M24229</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Can you please try &lt;CODE&gt;&lt;A href="https://&amp;lt;SH&amp;gt;:8000/en-US/_bump" target="test_blank"&gt;https://&amp;lt;SH&amp;gt;:8000/en-US/_bump&lt;/A&gt;&lt;/CODE&gt; and then click on Bump Version and then try to reload your app dashboard/page, it will pick up new javascript without restart.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2018 09:45:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-reload-the-JavaScript-in-an-app-without-restarting-Splunk/m-p/370705#M24229</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2018-01-03T09:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: Can we reload the JavaScript in an app without restarting Splunk?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-reload-the-JavaScript-in-an-app-without-restarting-Splunk/m-p/370706#M24230</link>
      <description>&lt;P&gt;hey @vkrishnachand&lt;BR /&gt;
Try this&lt;BR /&gt;
The easiest method is to bump the server.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &lt;A href="https://&amp;lt;yourSplunk&amp;gt;/en-US/_bump" target="test_blank"&gt;https://&amp;lt;yourSplunk&amp;gt;/en-US/_bump&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Click that button. Every click increases the bump, which effectively breaks all caching in the webserver. No need to restart! If you find it doesn't work as expected, run also the debug/refresh endpoint.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&lt;A href="https://&amp;lt;yourSplunk&amp;gt;/debug/refresh" target="test_blank"&gt;https://&amp;lt;yourSplunk&amp;gt;/debug/refresh&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And if that doesn't work, restart the web service only.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$SPLUNK_HOME/bin/splunk restart splunkweb
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And if that doesn't work, restart Splunk.&lt;/P&gt;

&lt;P&gt;Let me know if this helps you!&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2018 10:04:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-reload-the-JavaScript-in-an-app-without-restarting-Splunk/m-p/370706#M24230</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2018-01-03T10:04:05Z</dc:date>
    </item>
  </channel>
</rss>

