<?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: Adding Custom Sidebar to Splunk UI in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Adding-Custom-Sidebar-to-Splunk-UI/m-p/566873#M46563</link>
    <description>&lt;P&gt;Thats a great idea Jhan. I needed it to be site/application wide though. Is there an xml file I can edit to change the layout on every page? Sort of like a _Layout.cshtml in asp.net?&lt;/P&gt;</description>
    <pubDate>Mon, 13 Sep 2021 14:34:46 GMT</pubDate>
    <dc:creator>davidoff96</dc:creator>
    <dc:date>2021-09-13T14:34:46Z</dc:date>
    <item>
      <title>Adding Custom Sidebar to Splunk UI</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Adding-Custom-Sidebar-to-Splunk-UI/m-p/566519#M46548</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;My company has a sidebar that is consistent throughout all our other internal applications, and we were trying to get that same sidebar on our Splunk instance as well. We wanted to add a custom sidebar, with links to other pages from there (sort of looks like the bootstrap 5 sidebar&amp;nbsp;&lt;A href="https://getbootstrap.com/docs/5.0/examples/sidebars/" target="_blank" rel="noopener"&gt;https://getbootstrap.com/docs/5.0/examples/sidebars/&lt;/A&gt;), within all the apps (home/search/etc).&lt;/P&gt;&lt;P&gt;Is there anyway this can be done? When I looked elsewhere for tips on styling the UI, most of them were for styling the dashboards themselves. Is there also a way to include a custom javascript file within that UI as well? I am new to splunk, so maybe I am not looking in the right areas.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Sep 2021 19:29:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Adding-Custom-Sidebar-to-Splunk-UI/m-p/566519#M46548</guid>
      <dc:creator>davidoff96</dc:creator>
      <dc:date>2021-09-09T19:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Custom Sidebar to Splunk UI</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Adding-Custom-Sidebar-to-Splunk-UI/m-p/566577#M46550</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I didn't know if this is possible or not (haven't seen it), but is it option for you to just add those to navigation bar as own submenu?&amp;nbsp;&lt;A href="https://dev.splunk.com/enterprise/docs/developapps/createapps/addnavsplunkapp/" target="_blank"&gt;https://dev.splunk.com/enterprise/docs/developapps/createapps/addnavsplunkapp/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Fri, 10 Sep 2021 07:00:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Adding-Custom-Sidebar-to-Splunk-UI/m-p/566577#M46550</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2021-09-10T07:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Custom Sidebar to Splunk UI</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Adding-Custom-Sidebar-to-Splunk-UI/m-p/566675#M46555</link>
      <description>&lt;P&gt;Hey Ismo,&lt;/P&gt;&lt;P&gt;Thanks for the reply. I believe my company is actually currently doing that, so the navbar at the top looks correct. Its just that we want a sidebar on the left. Or is there some js file I can edit that will run on page load, where I can modify the html? I could add it through that if needed (though I'd rather not write the html in the javascript)&lt;/P&gt;</description>
      <pubDate>Fri, 10 Sep 2021 18:14:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Adding-Custom-Sidebar-to-Splunk-UI/m-p/566675#M46555</guid>
      <dc:creator>davidoff96</dc:creator>
      <dc:date>2021-09-10T18:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Custom Sidebar to Splunk UI</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Adding-Custom-Sidebar-to-Splunk-UI/m-p/566683#M46556</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/238261"&gt;@davidoff96&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have never such a case before, but regarding js you can try the below thing:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Added&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/latest/Viz/PanelreferenceforSimplifiedXML#html" target="_self"&gt;HTML&lt;/A&gt;&amp;nbsp;code in XML dashboard and provide some id to it.&lt;/LI&gt;&lt;LI&gt;Perform changes for this id from js file (which can be included in &amp;lt;dashboard script="file.js"&amp;gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Fri, 10 Sep 2021 19:34:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Adding-Custom-Sidebar-to-Splunk-UI/m-p/566683#M46556</guid>
      <dc:creator>jhanvidattani</dc:creator>
      <dc:date>2021-09-10T19:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Custom Sidebar to Splunk UI</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Adding-Custom-Sidebar-to-Splunk-UI/m-p/566873#M46563</link>
      <description>&lt;P&gt;Thats a great idea Jhan. I needed it to be site/application wide though. Is there an xml file I can edit to change the layout on every page? Sort of like a _Layout.cshtml in asp.net?&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 14:34:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Adding-Custom-Sidebar-to-Splunk-UI/m-p/566873#M46563</guid>
      <dc:creator>davidoff96</dc:creator>
      <dc:date>2021-09-13T14:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Custom Sidebar to Splunk UI</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Adding-Custom-Sidebar-to-Splunk-UI/m-p/566935#M46568</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/238261"&gt;@davidoff96&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have not worked with dot net, but I can provide steps for SPlunk:&lt;/P&gt;&lt;P&gt;Follow the below things to make changes in your Splunk App:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Navigate to folder $SPLUNK_HOME/etc/apps/&amp;lt;app_name&amp;gt;&lt;UL&gt;&lt;LI&gt;In default/data/ui/nav/default.xml add &amp;lt;file_name&amp;gt; so it becomes visible in Splunk Navigation Bar&lt;/LI&gt;&lt;LI&gt;In default/data/ui/views add&amp;nbsp;&amp;lt;file_name.xml&amp;gt; wherein we will be adding actual dashboard code (input and panels)&lt;/LI&gt;&lt;LI&gt;Add your &amp;lt;custom_file.js&amp;gt; file in appserver/static folder&lt;/LI&gt;&lt;LI&gt;Restart Splunk&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;In &amp;lt;file_name&amp;gt; dashboard (which will now be visible from UI) add your HTML code (refer to link mentioed in previos comment)&amp;nbsp; and import your js file as:&amp;nbsp;&amp;lt;form script="custom_file.js"&amp;gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;If you find my solution/debugging steps useful, then an upvote would be appreciated.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Sep 2021 05:10:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Adding-Custom-Sidebar-to-Splunk-UI/m-p/566935#M46568</guid>
      <dc:creator>jhanvidattani</dc:creator>
      <dc:date>2021-09-14T05:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Custom Sidebar to Splunk UI</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Adding-Custom-Sidebar-to-Splunk-UI/m-p/566939#M46569</link>
      <description>You shouldn’t ever do any changes under default, use always local directory path for your own changes! Only situation to use default is when you have done your own app.</description>
      <pubDate>Tue, 14 Sep 2021 06:01:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Adding-Custom-Sidebar-to-Splunk-UI/m-p/566939#M46569</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2021-09-14T06:01:47Z</dc:date>
    </item>
  </channel>
</rss>

