<?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: Deployment App file structure in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Deployment-App-file-structure/m-p/515840#M17697</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/140300"&gt;@chris94089&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;yes it's correct, even if usually in TAs less folders are used.&lt;/P&gt;&lt;P&gt;I hint to explore the Splunk Add-On Builder (&lt;A href="https://splunkbase.splunk.com/app/2962/" target="_blank"&gt;https://splunkbase.splunk.com/app/2962/&lt;/A&gt;) that can guide you in TA creation.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 24 Aug 2020 16:49:19 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2020-08-24T16:49:19Z</dc:date>
    <item>
      <title>Deployment App file structure</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Deployment-App-file-structure/m-p/515671#M17688</link>
      <description>&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;I'm looking for documentation on how to structure a deployment server app, the part that goes into deployment-apps/myapp directory. &amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to know if there's a specific way to do it. &amp;nbsp; For example, I want to set up a remote universal forwarder. &amp;nbsp;Can all the files I want to send go in the myapp/ directory? &amp;nbsp;Or should they be split up in a certain way?&lt;/P&gt;&lt;P&gt;Example: I need to send down a splunk.secret file: this file lives in $SPLUNK_HOME&lt;SPAN&gt;/SplunkForwarder/etc, would I put this file in&amp;nbsp;deployment-apps/myapp/etc/? &amp;nbsp;or can it just go into deployment-apps/myapp/ along with all the other files I need to&amp;nbsp;send down and the Deployment Client will&amp;nbsp;know what to do with it when it restarts?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 02:08:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Deployment-App-file-structure/m-p/515671#M17688</guid>
      <dc:creator>chris94089</dc:creator>
      <dc:date>2020-08-24T02:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: Deployment App file structure</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Deployment-App-file-structure/m-p/515699#M17689</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/140300"&gt;@chris94089&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;you should before deeply read all the doc at&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.5/Updating/Aboutdeploymentserver" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.5/Updating/Aboutdeploymentserver&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Anyway, you have to take from Splunkbase the apps to deploy or create your custom.&lt;/P&gt;&lt;P&gt;In the second case the folder structure is always the same of all Splunk apps:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;bin,&lt;/LI&gt;&lt;LI&gt;default,&lt;/LI&gt;&lt;LI&gt;local,&lt;/LI&gt;&lt;LI&gt;metadata.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Then you have to put these apps in &lt;STRONG&gt;%SPLUNK_HOME/etc/deployment-apps&lt;/STRONG&gt; of your Deployment Server.&lt;/P&gt;&lt;P&gt;I prefer to have different apps and not a great fully comprehensive one.&lt;/P&gt;&lt;P&gt;Remember that if you have to manage more than 50 target servers, you need a dedicated DS.&lt;/P&gt;&lt;P&gt;Then, I hint to plan you deployment on paper (or Excel) listing all the apps for each target server and grouping them to find the rules for your&amp;nbsp; ServerClasses.&lt;/P&gt;&lt;P&gt;A ServerClass is, in few words, a table that correlates servers and apps to deploy.&lt;/P&gt;&lt;P&gt;E.G. if you have to deploy the TA_Windows App to all the Windows servers with name "winsrv*" you can group these servers using this rule to create the ServerClass.&lt;/P&gt;&lt;P&gt;When you fully planned your deployment, you can create, using the web GUI, your ServerClasses to deploy apps applyng the planned rules.&lt;/P&gt;&lt;P&gt;Remember to flag the "Splunk restart" for each app otherwise the updates will not be taken.&lt;/P&gt;&lt;P&gt;On final hint: create an app (called e.g. TA_Forwarders) dedicated to contain only information about Deployment Server and Indexers to deploy to all the target servers (no inputs): in this app there will be only three files:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;apps.conf, containing the name of the app,&lt;/LI&gt;&lt;LI&gt;outputs.conf containing the addresses of Indexers,&lt;/LI&gt;&lt;LI&gt;deploymentclient containing the address of the Deployment Server.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;for more infos you can also see my answer&amp;nbsp;&lt;A href="https://community.splunk.com/t5/Deployment-Architecture/How-to-set-up-new-deployment-server-in-a-clustered-environment/td-p/514847" target="_blank"&gt;https://community.splunk.com/t5/Deployment-Architecture/How-to-set-up-new-deployment-server-in-a-clustered-environment/td-p/514847&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ciao and happy splunking.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 06:42:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Deployment-App-file-structure/m-p/515699#M17689</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-08-24T06:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: Deployment App file structure</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Deployment-App-file-structure/m-p/515836#M17696</link>
      <description>&lt;P&gt;So I saw this post here about deployment apps:&lt;/P&gt;&lt;P&gt;&lt;A href="https://dev.splunk.com/enterprise/docs/developapps/createapps/appdirectorystructure/" target="_blank"&gt;https://dev.splunk.com/enterprise/docs/developapps/createapps/appdirectorystructure/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Getting to the root question about deployment app structure (my ds is up and running already), would the link above be an appropriate way to structure the app files in the deployment-apps/myapp directory? &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 16:42:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Deployment-App-file-structure/m-p/515836#M17696</guid>
      <dc:creator>chris94089</dc:creator>
      <dc:date>2020-08-24T16:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: Deployment App file structure</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Deployment-App-file-structure/m-p/515840#M17697</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/140300"&gt;@chris94089&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;yes it's correct, even if usually in TAs less folders are used.&lt;/P&gt;&lt;P&gt;I hint to explore the Splunk Add-On Builder (&lt;A href="https://splunkbase.splunk.com/app/2962/" target="_blank"&gt;https://splunkbase.splunk.com/app/2962/&lt;/A&gt;) that can guide you in TA creation.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 16:49:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Deployment-App-file-structure/m-p/515840#M17697</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-08-24T16:49:19Z</dc:date>
    </item>
  </channel>
</rss>

