<?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: Why Splunk Version 6.2.2 static URL does not return latest file? in Security</title>
    <link>https://community.splunk.com/t5/Security/Why-Splunk-Version-6-2-2-static-URL-does-not-return-latest-file/m-p/161943#M4822</link>
    <description>&lt;P&gt;The only way I am able to get the latest file is by doing:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://splunkserver.com/debug/refresh"&gt;http://splunkserver.com/debug/refresh&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 02 Mar 2015 18:31:27 GMT</pubDate>
    <dc:creator>lpolo</dc:creator>
    <dc:date>2015-03-02T18:31:27Z</dc:date>
    <item>
      <title>Why Splunk Version 6.2.2 static URL does not return latest file?</title>
      <link>https://community.splunk.com/t5/Security/Why-Splunk-Version-6-2-2-static-URL-does-not-return-latest-file/m-p/161942#M4821</link>
      <description>&lt;P&gt;We use the static splunk web service to access static files. Example:&lt;BR /&gt;
&lt;A href="http://splunkserver.com/en-US/static/app/appname/file.json"&gt;http://splunkserver.com/en-US/static/app/appname/file.json&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;It has been working fine until the server was upgraded to version 6.2.2. &lt;/P&gt;

&lt;P&gt;This was our previous config in server.conf. It did not have any issues.&lt;BR /&gt;
[httpServer]&lt;BR /&gt;
max-age = 3600&lt;BR /&gt;
    * Set the maximum time (in seconds) to cache a static asset served off of the '/static' directory.&lt;BR /&gt;
    * This value is passed along in the 'Cache-Control' HTTP header.&lt;BR /&gt;
    * Defaults to 3600.&lt;/P&gt;

&lt;P&gt;I reduced the value to max-age=5. Problem continues. &lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2015 18:19:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Why-Splunk-Version-6-2-2-static-URL-does-not-return-latest-file/m-p/161942#M4821</guid>
      <dc:creator>lpolo</dc:creator>
      <dc:date>2015-03-02T18:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: Why Splunk Version 6.2.2 static URL does not return latest file?</title>
      <link>https://community.splunk.com/t5/Security/Why-Splunk-Version-6-2-2-static-URL-does-not-return-latest-file/m-p/161943#M4822</link>
      <description>&lt;P&gt;The only way I am able to get the latest file is by doing:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://splunkserver.com/debug/refresh"&gt;http://splunkserver.com/debug/refresh&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2015 18:31:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Why-Splunk-Version-6-2-2-static-URL-does-not-return-latest-file/m-p/161943#M4822</guid>
      <dc:creator>lpolo</dc:creator>
      <dc:date>2015-03-02T18:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: Why Splunk Version 6.2.2 static URL does not return latest file?</title>
      <link>https://community.splunk.com/t5/Security/Why-Splunk-Version-6-2-2-static-URL-does-not-return-latest-file/m-p/161944#M4823</link>
      <description>&lt;P&gt;Work around that solves the issue:&lt;/P&gt;

&lt;P&gt;1) add the configuration stanza "appServerPorts = 0" in /opt/splunk/etc/system/local/web.conf&lt;BR /&gt;
2) Restart splunk services /opt/splunk/bin/splunk restart&lt;/P&gt;

&lt;P&gt;Role of the configuration change in appServerPorts:&lt;/P&gt;

&lt;P&gt;appServerPorts = &lt;BR /&gt;
        * Port number(s) for the python-based application server to listen on.&lt;BR /&gt;
          This port is bound only on the loopback interface -- it is not&lt;BR /&gt;
          exposed to the network at large.&lt;BR /&gt;
        * If set to "0", this will prevent the application server from&lt;BR /&gt;
          being run from splunkd.  Instead, splunkweb will be started as&lt;BR /&gt;
          a separate python-based service which directly listens to the&lt;BR /&gt;
          'httpport'.  This is how Splunk 6.1.X and earlier behaved.&lt;BR /&gt;
        * Generally, you should only set one port number here.  For most&lt;BR /&gt;
          deployments a single application server won't be a performance&lt;BR /&gt;
          bottleneck.  However you can provide a comma-separated list of&lt;BR /&gt;
          port numbers here and splunkd will start a load-balanced&lt;BR /&gt;
          application server on each one.&lt;BR /&gt;
        * It is recommended that this be set to a non-zero value.  Setting&lt;BR /&gt;
          this to "0" should only be done if you experience a compatibility&lt;BR /&gt;
          problem.  The new separate application server configuration is faster&lt;BR /&gt;
          and supports more configuration options.  Also, setting this to&lt;BR /&gt;
          "0" may cause problems when using the Search Head Clustering feature&lt;BR /&gt;
          (see the [shclustering] stanza in server.conf)&lt;BR /&gt;
        * Defaults to 8065.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Mar 2015 15:21:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Why-Splunk-Version-6-2-2-static-URL-does-not-return-latest-file/m-p/161944#M4823</guid>
      <dc:creator>lpolo</dc:creator>
      <dc:date>2015-03-03T15:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: Why Splunk Version 6.2.2 static URL does not return latest file?</title>
      <link>https://community.splunk.com/t5/Security/Why-Splunk-Version-6-2-2-static-URL-does-not-return-latest-file/m-p/161945#M4824</link>
      <description>&lt;P&gt;Splunk Tech support will file a bug against 6.2.2 Build 255606.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Mar 2015 16:33:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Why-Splunk-Version-6-2-2-static-URL-does-not-return-latest-file/m-p/161945#M4824</guid>
      <dc:creator>lpolo</dc:creator>
      <dc:date>2015-03-03T16:33:32Z</dc:date>
    </item>
  </channel>
</rss>

