<?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 default.xml definition uses Splunk for AWS add-ons instead of the one provided in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/default-xml-definition-uses-Splunk-for-AWS-add-ons-instead-of/m-p/551362#M9864</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Architecture&lt;/STRONG&gt;: 3 search-heads in a cluster, captain dynamically elected, 1 search head deployer that is not one of the search head servers.&lt;/P&gt;&lt;P&gt;I go to $SPLUNK_HOME/etc/shcluster/apps/, create my app, add local/data/ui/{nav/default.xml,views/(empty)} that is valid (per &lt;A href="https://dev.splunk.com/enterprise/docs/developapps/createapps/addnavsplunkapp/" target="_blank" rel="noopener"&gt;https://dev.splunk.com/enterprise/docs/developapps/createapps/addnavsplunkapp/&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;Push type is &lt;EM&gt;merge_to_default&lt;/EM&gt; - so when I run &lt;EM&gt;splunk apply shcluster-bundle&lt;/EM&gt; command, it should merge the local folder into default and deploy that. That doesn't happen, however.&lt;/P&gt;&lt;P&gt;When I check the app on SearchHeads I see that the app is deployed, but there are only two folders inside: default with app.conf:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[ui]
is_visible = 1
show_in_nav = 1
label = Testing Label
[launcher]
author = myname
description = Some label
version = 1.0
[install]
install_source_checksum = &amp;lt;digest&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The second folder metadata contains single file metadata.local with nothing particularly interesting (except version that I am running on - 8.0.2). Note default.xml (or any other UI stuff) is nowhere to be found.&lt;/P&gt;&lt;P&gt;When I open the app on the search heads UI, I can select it from navigation and I am automatically redirected to Appname/Inputs despite this is not defined anywhere in my default.xml that I created on SHD.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I dig a little bit and found that /Inputs are defined in Splunk for AWS Addon's default.xml that is apparently being used for the application. I can also make my search head app to use my default.xml if I manually create local folder on each of the search heads - but I don't find this approach good from the maintenance perspective.&lt;/P&gt;&lt;P&gt;My questions:&lt;/P&gt;&lt;P&gt;1: Where should I put my default.xml on SH deployer for it to be deployed and used on Search Heads?&lt;/P&gt;&lt;P&gt;2: Why does SearchHead automatically assigns default.xml from different app? Can I configure this somewhere? Can I maybe create a new default.xml to be selected to be used for this app (and future apps I create)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your time!&lt;/P&gt;</description>
    <pubDate>Wed, 12 May 2021 14:38:18 GMT</pubDate>
    <dc:creator>LegalPrime</dc:creator>
    <dc:date>2021-05-12T14:38:18Z</dc:date>
    <item>
      <title>default.xml definition uses Splunk for AWS add-ons instead of the one provided</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/default-xml-definition-uses-Splunk-for-AWS-add-ons-instead-of/m-p/551362#M9864</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Architecture&lt;/STRONG&gt;: 3 search-heads in a cluster, captain dynamically elected, 1 search head deployer that is not one of the search head servers.&lt;/P&gt;&lt;P&gt;I go to $SPLUNK_HOME/etc/shcluster/apps/, create my app, add local/data/ui/{nav/default.xml,views/(empty)} that is valid (per &lt;A href="https://dev.splunk.com/enterprise/docs/developapps/createapps/addnavsplunkapp/" target="_blank" rel="noopener"&gt;https://dev.splunk.com/enterprise/docs/developapps/createapps/addnavsplunkapp/&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;Push type is &lt;EM&gt;merge_to_default&lt;/EM&gt; - so when I run &lt;EM&gt;splunk apply shcluster-bundle&lt;/EM&gt; command, it should merge the local folder into default and deploy that. That doesn't happen, however.&lt;/P&gt;&lt;P&gt;When I check the app on SearchHeads I see that the app is deployed, but there are only two folders inside: default with app.conf:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[ui]
is_visible = 1
show_in_nav = 1
label = Testing Label
[launcher]
author = myname
description = Some label
version = 1.0
[install]
install_source_checksum = &amp;lt;digest&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The second folder metadata contains single file metadata.local with nothing particularly interesting (except version that I am running on - 8.0.2). Note default.xml (or any other UI stuff) is nowhere to be found.&lt;/P&gt;&lt;P&gt;When I open the app on the search heads UI, I can select it from navigation and I am automatically redirected to Appname/Inputs despite this is not defined anywhere in my default.xml that I created on SHD.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I dig a little bit and found that /Inputs are defined in Splunk for AWS Addon's default.xml that is apparently being used for the application. I can also make my search head app to use my default.xml if I manually create local folder on each of the search heads - but I don't find this approach good from the maintenance perspective.&lt;/P&gt;&lt;P&gt;My questions:&lt;/P&gt;&lt;P&gt;1: Where should I put my default.xml on SH deployer for it to be deployed and used on Search Heads?&lt;/P&gt;&lt;P&gt;2: Why does SearchHead automatically assigns default.xml from different app? Can I configure this somewhere? Can I maybe create a new default.xml to be selected to be used for this app (and future apps I create)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your time!&lt;/P&gt;</description>
      <pubDate>Wed, 12 May 2021 14:38:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/default-xml-definition-uses-Splunk-for-AWS-add-ons-instead-of/m-p/551362#M9864</guid>
      <dc:creator>LegalPrime</dc:creator>
      <dc:date>2021-05-12T14:38:18Z</dc:date>
    </item>
  </channel>
</rss>

