<?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 Custom CSS file not found in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Custom-CSS-file-not-found/m-p/228774#M14173</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;I'm having trouble getting Splunk to pick up a custom CSS file for a dashboard in the Search &amp;amp; Reporting app. I've put the file in the following location as per the instructions in the docs: &lt;CODE&gt;apps\search\appserver\static&lt;/CODE&gt; and had the administrator restart Splunk.&lt;/P&gt;

&lt;P&gt;I can now navigate to the file in my browser at the following location: &lt;CODE&gt;&lt;A href="https://(servername)/en-GB/static/app/search/custom_styles.css" target="test_blank"&gt;https://(servername)/en-GB/static/app/search/custom_styles.css&lt;/A&gt;&lt;/CODE&gt; and it displays the contents as expected in the browser however when I try to load it in the dashboard using this code &lt;CODE&gt;&amp;lt;form stylesheet="custom_styles.css"&amp;gt;&lt;/CODE&gt;, it's not working. I used Inspect in Chrome to check for errors and found a 404 Not Found error with the following path: &lt;CODE&gt;&lt;A href="https://(servername)/en-GB/static/@f7123456f0c/app/search/custom_styles.css" target="test_blank"&gt;https://(servername)/en-GB/static/@f7123456f0c/app/search/custom_styles.css&lt;/A&gt;&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;The string &lt;CODE&gt;@f7123456f0c&lt;/CODE&gt; refers to the splunkd instance as far as I can tell, and I'm at a loss as to why it's adding that in and whether or not this is the cause of the issue. Any insights or advice on how to fix this would be much appreciated.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Fri, 13 Jan 2017 00:59:01 GMT</pubDate>
    <dc:creator>Teddles</dc:creator>
    <dc:date>2017-01-13T00:59:01Z</dc:date>
    <item>
      <title>Custom CSS file not found</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Custom-CSS-file-not-found/m-p/228774#M14173</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;I'm having trouble getting Splunk to pick up a custom CSS file for a dashboard in the Search &amp;amp; Reporting app. I've put the file in the following location as per the instructions in the docs: &lt;CODE&gt;apps\search\appserver\static&lt;/CODE&gt; and had the administrator restart Splunk.&lt;/P&gt;

&lt;P&gt;I can now navigate to the file in my browser at the following location: &lt;CODE&gt;&lt;A href="https://(servername)/en-GB/static/app/search/custom_styles.css" target="test_blank"&gt;https://(servername)/en-GB/static/app/search/custom_styles.css&lt;/A&gt;&lt;/CODE&gt; and it displays the contents as expected in the browser however when I try to load it in the dashboard using this code &lt;CODE&gt;&amp;lt;form stylesheet="custom_styles.css"&amp;gt;&lt;/CODE&gt;, it's not working. I used Inspect in Chrome to check for errors and found a 404 Not Found error with the following path: &lt;CODE&gt;&lt;A href="https://(servername)/en-GB/static/@f7123456f0c/app/search/custom_styles.css" target="test_blank"&gt;https://(servername)/en-GB/static/@f7123456f0c/app/search/custom_styles.css&lt;/A&gt;&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;The string &lt;CODE&gt;@f7123456f0c&lt;/CODE&gt; refers to the splunkd instance as far as I can tell, and I'm at a loss as to why it's adding that in and whether or not this is the cause of the issue. Any insights or advice on how to fix this would be much appreciated.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2017 00:59:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Custom-CSS-file-not-found/m-p/228774#M14173</guid>
      <dc:creator>Teddles</dc:creator>
      <dc:date>2017-01-13T00:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: Custom CSS file not found</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Custom-CSS-file-not-found/m-p/228775#M14174</link>
      <description>&lt;P&gt;I think it has to do with the ..."Static assets for apps are cached on the client and server side. If you update an item in the /appserver/static directory, you can see changes by clearing both the client and server caches. See...&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/SplunkCloud/6.5.1/AdvancedDev/CustomizationOptions"&gt;http://docs.splunk.com/Documentation/SplunkCloud/6.5.1/AdvancedDev/CustomizationOptions&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;"&lt;A href="http://docs.splunk.com/Documentation/SplunkCloud/6.5.1/AdvancedDev/CustomizationOptions"&gt;http://docs.splunk.com/Documentation/SplunkCloud/6.5.1/AdvancedDev/CustomizationOptions&lt;/A&gt;"&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2017 18:05:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Custom-CSS-file-not-found/m-p/228775#M14174</guid>
      <dc:creator>rroberts</dc:creator>
      <dc:date>2017-01-13T18:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: Custom CSS file not found</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Custom-CSS-file-not-found/m-p/228776#M14175</link>
      <description>&lt;P&gt;If you have access to Application Manager, can you try uploading CSS file through UI? If you are using the "Search and Reporting" app, as per your example, following should be the path &lt;/P&gt;

&lt;P&gt;&lt;A href="http://(servername)/en-US/manager/launcher/apps/local/search?action=edit" target="test_blank"&gt;http://(servername)/en-US/manager/launcher/apps/local/search?action=edit&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;From "Upload Asset", browse your custom_styles.css file and save. &lt;/P&gt;

&lt;P&gt;(PS: If you also have access to Add Data functionality through Splunk UI, you can actually use Settings &amp;gt; Data Inputs &amp;gt; Files &amp;amp; directories &amp;gt; New to open file browser on Splunk instance and browse to the css file location to validate the file)&lt;/P&gt;

&lt;P&gt;Static files not only requires reboot of Splunk instance it might also require &lt;STRONG&gt;clearing of browser history&lt;/STRONG&gt;. So please also try both the steps.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2017 18:14:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Custom-CSS-file-not-found/m-p/228776#M14175</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-01-13T18:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: Custom CSS file not found</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Custom-CSS-file-not-found/m-p/228777#M14176</link>
      <description>&lt;P&gt;That did it, thank you. I've been able to consistently reflect changes in the custom_styles.css file now by using a combination of clearing the server cache and my browser cache.&lt;/P&gt;</description>
      <pubDate>Sun, 15 Jan 2017 23:35:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Custom-CSS-file-not-found/m-p/228777#M14176</guid>
      <dc:creator>Teddles</dc:creator>
      <dc:date>2017-01-15T23:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: Custom CSS file not found</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Custom-CSS-file-not-found/m-p/228778#M14177</link>
      <description>&lt;P&gt;Clearing the server cache + browser cache did it, thank you for your help.&lt;/P&gt;</description>
      <pubDate>Sun, 15 Jan 2017 23:35:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Custom-CSS-file-not-found/m-p/228778#M14177</guid>
      <dc:creator>Teddles</dc:creator>
      <dc:date>2017-01-15T23:35:52Z</dc:date>
    </item>
  </channel>
</rss>

