<?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 do I get Splunk to serve other content in Security</title>
    <link>https://community.splunk.com/t5/Security/How-do-I-get-Splunk-to-serve-other-content/m-p/101344#M3278</link>
    <description>&lt;P&gt;The file at:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$SPLUNK_HOME/etc/apps/yourapp/appserver/static/yourfile.html
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;should be accessible via:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&lt;A href="http://splunk/static/app/yourapp/yourfile.html" target="test_blank"&gt;http://splunk/static/app/yourapp/yourfile.html&lt;/A&gt;
&lt;A href="http://splunk/en-US/static/@12345.67:0/app/yourapp/yourfile.html" target="test_blank"&gt;http://splunk/en-US/static/@12345.67:0/app/yourapp/yourfile.html&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;As best practice, try to use relative paths if you can, since Splunk will generate dynamic URLs that look more like the second version above. The first version works under 4.2.1, but not sure about older versions.&lt;/P&gt;

&lt;P&gt;Or, if you want to do something within a view/dashboard, you may also want to look at the &lt;CODE&gt;ServerSideInclude&lt;/CODE&gt; module in the Advanced XML.&lt;/P&gt;</description>
    <pubDate>Fri, 13 May 2011 01:34:56 GMT</pubDate>
    <dc:creator>southeringtonp</dc:creator>
    <dc:date>2011-05-13T01:34:56Z</dc:date>
    <item>
      <title>How do I get Splunk to serve other content</title>
      <link>https://community.splunk.com/t5/Security/How-do-I-get-Splunk-to-serve-other-content/m-p/101342#M3276</link>
      <description>&lt;P&gt;Since Splunk has a webserver how can I have it serve alternate HTML pages?  I'd like to provide some simple instructions (and a few other things) to my users and don't really feel like standing up another webserver since I am already running one with Splunk.  What directory do I drop files into to have Splunk serve them?&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2011 23:40:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-do-I-get-Splunk-to-serve-other-content/m-p/101342#M3276</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2011-05-12T23:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get Splunk to serve other content</title>
      <link>https://community.splunk.com/t5/Security/How-do-I-get-Splunk-to-serve-other-content/m-p/101343#M3277</link>
      <description>&lt;P&gt;Files in $SPLUNK_HOME/etc/system/static are served by splunkd at &lt;A href="https://localhost:8089/static" target="_blank"&gt;https://localhost:8089/static&lt;/A&gt;.&lt;/P&gt;

&lt;P&gt;Files in $SPLUNK_HOME/share/splunk/search_mrsparkle/exposed are served by the appserver at &lt;A href="http://localhost:8000/static" target="_blank"&gt;http://localhost:8000/static&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 09:33:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-do-I-get-Splunk-to-serve-other-content/m-p/101343#M3277</guid>
      <dc:creator>ewoo</dc:creator>
      <dc:date>2020-09-28T09:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get Splunk to serve other content</title>
      <link>https://community.splunk.com/t5/Security/How-do-I-get-Splunk-to-serve-other-content/m-p/101344#M3278</link>
      <description>&lt;P&gt;The file at:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$SPLUNK_HOME/etc/apps/yourapp/appserver/static/yourfile.html
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;should be accessible via:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&lt;A href="http://splunk/static/app/yourapp/yourfile.html" target="test_blank"&gt;http://splunk/static/app/yourapp/yourfile.html&lt;/A&gt;
&lt;A href="http://splunk/en-US/static/@12345.67:0/app/yourapp/yourfile.html" target="test_blank"&gt;http://splunk/en-US/static/@12345.67:0/app/yourapp/yourfile.html&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;As best practice, try to use relative paths if you can, since Splunk will generate dynamic URLs that look more like the second version above. The first version works under 4.2.1, but not sure about older versions.&lt;/P&gt;

&lt;P&gt;Or, if you want to do something within a view/dashboard, you may also want to look at the &lt;CODE&gt;ServerSideInclude&lt;/CODE&gt; module in the Advanced XML.&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2011 01:34:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-do-I-get-Splunk-to-serve-other-content/m-p/101344#M3278</guid>
      <dc:creator>southeringtonp</dc:creator>
      <dc:date>2011-05-13T01:34:56Z</dc:date>
    </item>
  </channel>
</rss>

