<?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 host static content (simple txt file) containing IPs in the Splunk Web directory for users to access? in Security</title>
    <link>https://community.splunk.com/t5/Security/How-to-host-static-content-simple-txt-file-containing-IPs-in-the/m-p/247814#M6866</link>
    <description>&lt;P&gt;If your Splunk App name is &lt;STRONG&gt;TestApp&lt;/STRONG&gt; then following should be the path for static folder:&lt;/P&gt;

&lt;P&gt;/opt/splunk/etc/apps/&lt;STRONG&gt;TestApp&lt;/STRONG&gt;/appserver/static&lt;/P&gt;

&lt;P&gt;Then you can access the contents through Splunk HTML panel elements, for eg: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;html src="/static/app/TestApp/html_tags.html"&amp;gt;Test HTML Link&amp;lt;/html&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Refer to HTML example on Splunk 6.x Dashboard Examples app for details on the same.&lt;/P&gt;</description>
    <pubDate>Mon, 28 Nov 2016 07:12:51 GMT</pubDate>
    <dc:creator>niketn</dc:creator>
    <dc:date>2016-11-28T07:12:51Z</dc:date>
    <item>
      <title>How to host static content (simple txt file) containing IPs in the Splunk Web directory for users to access?</title>
      <link>https://community.splunk.com/t5/Security/How-to-host-static-content-simple-txt-file-containing-IPs-in-the/m-p/247813#M6865</link>
      <description>&lt;P&gt;Greetings all!&lt;/P&gt;

&lt;P&gt;I am seeking to host a simple txt file containing IPs from the Splunk web dir. I have a Splunk search which yields IPs in a txt file and would like to then move that file to a place which is accessible via Splunk Web so other devices can access it. The file is going to be IPs deemed as "malicious" from the search, so I want firewalls to be able to reference the text file and update ACLs accordingly. &lt;/P&gt;

&lt;P&gt;I referenced the below Answer and tried placing the txt file in /opt/splunk/etc/apps/app-here/static/. But I then could not access it by going to &lt;A href="http://:8000/en-US/static/app/app-here/badip.txt" target="test_blank"&gt;http://:8000/en-US/static/app/app-here/badip.txt&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/4290/create-a-custom-web-page-for-the-splunk-web-server-to-host.html"&gt;https://answers.splunk.com/answers/4290/create-a-custom-web-page-for-the-splunk-web-server-to-host.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Since that past answer is from 2011, has the location or URL changed? Or is there a better place to do this now? &lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2016 03:42:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-host-static-content-simple-txt-file-containing-IPs-in-the/m-p/247813#M6865</guid>
      <dc:creator>sdorsey15</dc:creator>
      <dc:date>2016-11-28T03:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to host static content (simple txt file) containing IPs in the Splunk Web directory for users to access?</title>
      <link>https://community.splunk.com/t5/Security/How-to-host-static-content-simple-txt-file-containing-IPs-in-the/m-p/247814#M6866</link>
      <description>&lt;P&gt;If your Splunk App name is &lt;STRONG&gt;TestApp&lt;/STRONG&gt; then following should be the path for static folder:&lt;/P&gt;

&lt;P&gt;/opt/splunk/etc/apps/&lt;STRONG&gt;TestApp&lt;/STRONG&gt;/appserver/static&lt;/P&gt;

&lt;P&gt;Then you can access the contents through Splunk HTML panel elements, for eg: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;html src="/static/app/TestApp/html_tags.html"&amp;gt;Test HTML Link&amp;lt;/html&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Refer to HTML example on Splunk 6.x Dashboard Examples app for details on the same.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2016 07:12:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-host-static-content-simple-txt-file-containing-IPs-in-the/m-p/247814#M6866</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2016-11-28T07:12:51Z</dc:date>
    </item>
  </channel>
</rss>

