<?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: Splunk App Customization. in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-App-Customization/m-p/362457#M67122</link>
    <description>&lt;P&gt;@senthamilselvanj, is your issue resolved? Were you able to go through the Splunk Dev site to build your own Splunk Navigation?&lt;/P&gt;</description>
    <pubDate>Fri, 24 Nov 2017 04:57:08 GMT</pubDate>
    <dc:creator>niketn</dc:creator>
    <dc:date>2017-11-24T04:57:08Z</dc:date>
    <item>
      <title>Splunk App Customization.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-App-Customization/m-p/362450#M67115</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;

&lt;P&gt;I have installed Splunk locally and customizing search and reporting app for client POC.&lt;BR /&gt;
Normally, the dashboard icon will display all the dashboard created in particular app. Our requirement is to create 2 dashboard(example dashboard &amp;amp; dashboardNew) icon in the app. So that i can show few dashboards in dashboard and other dashboards in dashboardNew.&lt;/P&gt;

&lt;P&gt;I have modified views and navigation panels and now i can able to see 2 icons(Dashbaord and DashbaordNew). Please find the below screen shot. But when i click on DashboardNew, am not able to get the dashboard homepage.I am getting below error message&lt;BR /&gt;
DashboardNew:59 GET &lt;A href="http://localhost:8000/en-US/static/@99CB7A89718D471BDF9A78A863F784EB0AFC1F73D21A49FA0BA538C15D4E9510/build/pages/enterprise/DashboardNew.js"&gt;http://localhost:8000/en-US/static/@99CB7A89718D471BDF9A78A863F784EB0AFC1F73D21A49FA0BA538C15D4E9510/build/pages/enterprise/DashboardNew.js&lt;/A&gt; . I hope my icon is not able to read the js file and i have placed the js file also. Am not sure what i have missed on this task.&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/3842i9873E63728E73DAE/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2017 10:09:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-App-Customization/m-p/362450#M67115</guid>
      <dc:creator>senthamilselvan</dc:creator>
      <dc:date>2017-11-15T10:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk App Customization.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-App-Customization/m-p/362451#M67116</link>
      <description>&lt;P&gt;@senthamilselvanj, I think you are over-complicating a use case which is built in to Splunk using Splunk &lt;CODE&gt;Settings &amp;gt; User Interface &amp;gt; Navigation &amp;gt; Default &amp;gt; default.xml&lt;/CODE&gt;, which is the Navigation XML used by Splunk App.&lt;/P&gt;

&lt;P&gt;Get rid of default &lt;CODE&gt;dashboard&lt;/CODE&gt; xml and you can add new Navigation&lt;CODE&gt;collections&lt;/CODE&gt; called &lt;CODE&gt;Dashboards&lt;/CODE&gt; and &lt;CODE&gt;Dashboardnew&lt;/CODE&gt;. Then you can classify the links to the dashboards you need under specific collection&lt;/P&gt;

&lt;P&gt;Following Splunk Dev site has the documentation for the same: &lt;A href="http://dev.splunk.com/view/webframework-developapps/SP-CAAAEP9"&gt;http://dev.splunk.com/view/webframework-developapps/SP-CAAAEP9&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;You can in-fact put all required Dashboard under the Dashboards collection and use &lt;CODE&gt;unclassified&lt;/CODE&gt; for the remaining dashboards to be automatically visible under &lt;CODE&gt;Dashboardnew&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;!-- Dynamically list all unclassified dashboards --&amp;gt;
&amp;lt;collection label="Dashboardnew"&amp;gt;
    &amp;lt;view source="unclassified" /&amp;gt;
&amp;lt;/collection&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Please try out and confirm.&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;&lt;STRONG&gt;[UPDATED]&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Based on further information. You need two menu Prod and Non Prod with 5 dashboard each under it. Following is how the &lt;CODE&gt;default.xml&lt;/CODE&gt; should look like.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;nav search_view="search" color="#6666FF"&amp;gt;
  &amp;lt;collection label="Dashboards (Non-Prod)"&amp;gt;
    &amp;lt;view name="your_np_dashboard_label_1" /&amp;gt;
    &amp;lt;view name="your_np_dashboard_label_2" /&amp;gt;
    &amp;lt;view name="your_np_dashboard_label_3" /&amp;gt;
    &amp;lt;view name="your_np_dashboard_label_4" /&amp;gt;
    &amp;lt;view name="your_np_dashboard_label_5" /&amp;gt;
  &amp;lt;/collection&amp;gt;
  &amp;lt;collection label="Dashboards (Production)"&amp;gt;
    &amp;lt;view name="your_prod_dashboard_label_1"  default="true" /&amp;gt;
    &amp;lt;view name="your_prod_dashboard_label_2" /&amp;gt;
    &amp;lt;view name="your_prod_dashboard_label_3" /&amp;gt;
    &amp;lt;view name="your_prod_dashboard_label_4" /&amp;gt;
    &amp;lt;view name="your_prod_dashboard_label_5" /&amp;gt;
  &amp;lt;/collection&amp;gt;
&amp;lt;/nav&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;PS: I have give a different color to Navigation Menu to identify that default.xml is getting applied. You can retain or change as per your need. You can change &lt;CODE&gt;default="true"&lt;/CODE&gt; as per your requirement. There can be only one default dashboard per Splunk App.&lt;/P&gt;

&lt;P&gt;Please try out and confirm.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2017 12:39:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-App-Customization/m-p/362451#M67116</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-11-15T12:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk App Customization.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-App-Customization/m-p/362452#M67117</link>
      <description>&lt;P&gt;Hi  niketnilay,&lt;/P&gt;

&lt;P&gt;Thank you for input, But i am still facing the issue.&lt;BR /&gt;
I have created 2 menu (Dashboards-NP &amp;amp; Dashboards-Prod) in the app. Now i have 3 dashboard menus(Dashboards,Dashboards-NP &amp;amp; Dashboards-Prod)&lt;/P&gt;

&lt;P&gt;I have totally 10 dashboards which is created and shown under "Dashboards" menu. Now i want to few dashboards to display in other menus (Dashboards-NP &amp;amp; Dashboards-Prod). Please help me on this.&lt;BR /&gt;
Also when i clicked on menu (Dashboards-NP orDashboards-Prod), it shows only loading.&lt;/P&gt;

&lt;P&gt;Thanks &amp;amp; Regards&lt;BR /&gt;
Selvan J&lt;/P&gt;</description>
      <pubDate>Fri, 17 Nov 2017 12:35:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-App-Customization/m-p/362452#M67117</guid>
      <dc:creator>senthamilselvan</dc:creator>
      <dc:date>2017-11-17T12:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk App Customization.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-App-Customization/m-p/362453#M67118</link>
      <description>&lt;P&gt;Can you share your current navigation XML (default.xml)?&lt;/P&gt;

&lt;P&gt;Also if the dashboard opens and shows Loading it means Dashboard has opened, but might have some errors (usually because of JavaScript/CSS/HTML changes to Simple XML or HTML dashboards).&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2017 22:37:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-App-Customization/m-p/362453#M67118</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-11-20T22:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk App Customization.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-App-Customization/m-p/362454#M67119</link>
      <description>&lt;P&gt;@senthamilselvanj, I have updated my answer with a sample code for &lt;CODE&gt;default.xml&lt;/CODE&gt;. Can you try t out?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2017 05:25:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-App-Customization/m-p/362454#M67119</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-11-21T05:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk App Customization.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-App-Customization/m-p/362455#M67120</link>
      <description>&lt;P&gt;Hi niketnilay,&lt;BR /&gt;
I tried it but still it is not working, Please find the below current navigation XML(default.xml) in the path C:\Splunk\etc\apps\search\default\data\ui\nav&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;   &amp;lt;view name="nmon" /&amp;gt;
   &amp;lt;view name="NMON Alerts" /&amp;gt;


   &amp;lt;view name="OPM Dashboard"  default="true" /&amp;gt;
   &amp;lt;view name="Tabbed View" /&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 21 Nov 2017 12:45:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-App-Customization/m-p/362455#M67120</guid>
      <dc:creator>senthamilselvan</dc:creator>
      <dc:date>2017-11-21T12:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk App Customization.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-App-Customization/m-p/362456#M67121</link>
      <description>&lt;P&gt;You are picking up Dashboard names from inside the dashboard. Pick dashboard names from &lt;CODE&gt;$SPLUNK_HOME\apps\search\default\data\ui\views&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;Dashboard names are lower case and are not supposed to have spaces (they have underscore instead)&lt;/CODE&gt;. If you do not have any views inside a collection correctly mapped you will not see the collection itself.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2017 14:47:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-App-Customization/m-p/362456#M67121</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-11-21T14:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk App Customization.</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-App-Customization/m-p/362457#M67122</link>
      <description>&lt;P&gt;@senthamilselvanj, is your issue resolved? Were you able to go through the Splunk Dev site to build your own Splunk Navigation?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Nov 2017 04:57:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-App-Customization/m-p/362457#M67122</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-11-24T04:57:08Z</dc:date>
    </item>
  </channel>
</rss>

