<?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 can I access app's static content via Splunk endpoint? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-access-app-s-static-content-via-Splunk-endpoint/m-p/12905#M1085</link>
    <description>&lt;P&gt;Five years later things have changed a bit. Now to access /etc/system/static file you'd need to go another way:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://localhost:8000/en-US/splunkd/__raw/servicesNS/admin/search/static/myfile.png"&gt;http://localhost:8000/en-US/splunkd/__raw/servicesNS/admin/search/static/myfile.png&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Feb 2015 22:16:12 GMT</pubDate>
    <dc:creator>Leo</dc:creator>
    <dc:date>2015-02-17T22:16:12Z</dc:date>
    <item>
      <title>How can I access app's static content via Splunk endpoint?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-access-app-s-static-content-via-Splunk-endpoint/m-p/12903#M1083</link>
      <description>&lt;P&gt;I have a file inside my app that I want to expose through some Splunk endpoint. How can it be done?&lt;/P&gt;</description>
      <pubDate>Wed, 05 May 2010 06:34:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-access-app-s-static-content-via-Splunk-endpoint/m-p/12903#M1083</guid>
      <dc:creator>Leo</dc:creator>
      <dc:date>2010-05-05T06:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: How can I access app's static content via Splunk endpoint?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-access-app-s-static-content-via-Splunk-endpoint/m-p/12904#M1084</link>
      <description>&lt;P&gt;Assuming you have an app called 'myapp', you should place your file inside &lt;/P&gt;

&lt;PRE&gt;
$SPLUNK_HOME/etc/apps/myapp/appserver/static 
&lt;/PRE&gt;

&lt;P&gt;You can then access it from SplunkWeb:
&lt;A href="http://localhost:8000/static/app/myapp/myfile.png" rel="nofollow"&gt;http://localhost:8000/static/app/myapp/myfile.png&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Alternatively, files placed inside&lt;/P&gt;

&lt;PRE&gt;
$SPLUNK_HOME/etc/system/static 
&lt;/PRE&gt;

&lt;P&gt;can be accessed via SplunkD:
&lt;A href="https://localhost:8089/static/myfile.png" rel="nofollow"&gt;https://localhost:8089/static/myfile.png&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 May 2010 06:41:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-access-app-s-static-content-via-Splunk-endpoint/m-p/12904#M1084</guid>
      <dc:creator>Leo</dc:creator>
      <dc:date>2010-05-05T06:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: How can I access app's static content via Splunk endpoint?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-access-app-s-static-content-via-Splunk-endpoint/m-p/12905#M1085</link>
      <description>&lt;P&gt;Five years later things have changed a bit. Now to access /etc/system/static file you'd need to go another way:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://localhost:8000/en-US/splunkd/__raw/servicesNS/admin/search/static/myfile.png"&gt;http://localhost:8000/en-US/splunkd/__raw/servicesNS/admin/search/static/myfile.png&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Feb 2015 22:16:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-access-app-s-static-content-via-Splunk-endpoint/m-p/12905#M1085</guid>
      <dc:creator>Leo</dc:creator>
      <dc:date>2015-02-17T22:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: How can I access app's static content via Splunk endpoint?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-access-app-s-static-content-via-Splunk-endpoint/m-p/12906#M1086</link>
      <description>&lt;P&gt;And to access the file in your myapp app, it would be:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://localhost:8000/en-US/splunkd/__raw/servicesNS/admin/myapp/static/myfile.png"&gt;http://localhost:8000/en-US/splunkd/__raw/servicesNS/admin/myapp/static/myfile.png&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2015 16:21:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-access-app-s-static-content-via-Splunk-endpoint/m-p/12906#M1086</guid>
      <dc:creator>jbrodsky_splunk</dc:creator>
      <dc:date>2015-07-24T16:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: How can I access app's static content via Splunk endpoint?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-access-app-s-static-content-via-Splunk-endpoint/m-p/12907#M1087</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Thanks for ypur response.&lt;BR /&gt;
But what about customizing the XML of a dashboard: when i try to change its code I see that they start with the tag   and not  (as the simple dashboard app shows). How can I change the XML correctly?&lt;/P&gt;

&lt;P&gt;When I copy the .css file to the directory ../statis and change the xml of the dashboard I get no results... &lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Skender,&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jul 2015 13:57:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-access-app-s-static-content-via-Splunk-endpoint/m-p/12907#M1087</guid>
      <dc:creator>skender27</dc:creator>
      <dc:date>2015-07-27T13:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: How can I access app's static content via Splunk endpoint?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-access-app-s-static-content-via-Splunk-endpoint/m-p/12908#M1088</link>
      <description>&lt;P&gt;Just to add, the original posted URI still works like in&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&lt;A href="http://localhost:8000/static/app/myapp/myfile.png" target="test_blank"&gt;http://localhost:8000/static/app/myapp/myfile.png&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 04 Aug 2015 22:57:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-access-app-s-static-content-via-Splunk-endpoint/m-p/12908#M1088</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2015-08-04T22:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: How can I access app's static content via Splunk endpoint?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-access-app-s-static-content-via-Splunk-endpoint/m-p/12909#M1089</link>
      <description>&lt;P&gt;Hi Skender,&lt;/P&gt;

&lt;P&gt;if your &lt;CODE&gt;.css&lt;/CODE&gt; file is in &lt;CODE&gt;$SPLUNK_HOME/etc/apps/YourApp/appserver/static&lt;/CODE&gt; directory you can use it like this in your dashboard:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form stylesheet="YourFancy.css"  .... &amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 04 Aug 2015 23:00:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-access-app-s-static-content-via-Splunk-endpoint/m-p/12909#M1089</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2015-08-04T23:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: How can I access app's static content via Splunk endpoint?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-access-app-s-static-content-via-Splunk-endpoint/m-p/12910#M1090</link>
      <description>&lt;P&gt;Correct. The above solution works fine. But  if i create a folder inside appserver/static and place the css file inside, then how i will refer that in my dashboard.&lt;/P&gt;

&lt;P&gt;eg) appserver/static/folder1/folder2/YourFancy.css&lt;/P&gt;

&lt;P&gt;In Dashboard it should be like &lt;/P&gt;

&lt;P&gt;form stylesheet="folder1/folder2/YourFancy.css"...&lt;/P&gt;

&lt;P&gt;For me it is not working. Kindly suggest how to access a file if place inside a folder..&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2016 11:35:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-access-app-s-static-content-via-Splunk-endpoint/m-p/12910#M1090</guid>
      <dc:creator>Vijaikanth</dc:creator>
      <dc:date>2016-06-17T11:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: How can I access app's static content via Splunk endpoint?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-access-app-s-static-content-via-Splunk-endpoint/m-p/12911#M1091</link>
      <description>&lt;P&gt;To clarify,  &lt;A href="http://localhost:8000/static/app/myapp/myfile.png" target="_blank"&gt;http://localhost:8000/static/app/myapp/myfile.png&lt;/A&gt; would work for your files in $SPLUNK_HOME/myapp/appserver/static&lt;BR /&gt;
and&lt;BR /&gt;
&lt;A href="http://localhost:8000/en-US/splunkd/__raw/servicesNS/admin/myapp/static/myfile.png" target="_blank"&gt;http://localhost:8000/en-US/splunkd/__raw/servicesNS/admin/myapp/static/myfile.png&lt;/A&gt;&lt;BR /&gt;
would work for files in $SPLUNK_HOME/myapp/static.&lt;BR /&gt;
Make sure to use the first.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:13:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-access-app-s-static-content-via-Splunk-endpoint/m-p/12911#M1091</guid>
      <dc:creator>inetmiguel</dc:creator>
      <dc:date>2020-09-29T10:13:09Z</dc:date>
    </item>
  </channel>
</rss>

