<?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: what are your Deployment App naming conventions? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/what-are-your-Deployment-App-naming-conventions/m-p/216710#M73408</link>
    <description>&lt;P&gt;cheers @williamwar!  2 follow-ups for you:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt; any caution about renaming existing apps?  like if i have one called "foo_indexes", any issues if i rename it to "acme_NYC_foo_indexes" to match my new naming convention?&lt;/LI&gt;
&lt;LI&gt;just confirming - but following &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.0/Admin/Wheretofindtheconfigurationfiles" target="_blank"&gt;Configuration File Precedence&lt;/A&gt; - if i split these out from already-existing system-local files, i'll need to 1) also blow away system/local copies of those entries on each system and 2) restart splunk.&lt;/LI&gt;
&lt;/OL&gt;</description>
    <pubDate>Tue, 29 Sep 2020 07:48:08 GMT</pubDate>
    <dc:creator>awurster</dc:creator>
    <dc:date>2020-09-29T07:48:08Z</dc:date>
    <item>
      <title>what are your Deployment App naming conventions?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/what-are-your-Deployment-App-naming-conventions/m-p/216708#M73406</link>
      <description>&lt;P&gt;looking for some inspiration or guidelines about namespaces whilst deploying apps from Deployment Server.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2015 04:15:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/what-are-your-Deployment-App-naming-conventions/m-p/216708#M73406</guid>
      <dc:creator>awurster</dc:creator>
      <dc:date>2015-11-02T04:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: what are your Deployment App naming conventions?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/what-are-your-Deployment-App-naming-conventions/m-p/216709#M73407</link>
      <description>&lt;P&gt;I have been selling splunk for about 6 years, and now I will be using Splunk for my new Job.   I'm going to follow this convention. &lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;Acme_DC_InfoSec_nix_HWFwd_inputs&lt;BR /&gt;
Acme_NYC_IT_Win_IntFwd_outputs&lt;BR /&gt;
Acme_SF_InfoSec_nix_EPFwd_deployclient&lt;BR /&gt;
Acme_DC_Sales_MAC_HWFwd_limits&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;This will ensure that if two companies with Splunk Merge your time will be made easier&lt;/LI&gt;
&lt;LI&gt;In case you want to have different files per location  (Think of a multi-site cluster with outputs.conf)&lt;/LI&gt;
&lt;LI&gt;This gives you the ability to understand who has requested this app so you can ask them questions&lt;/LI&gt;
&lt;LI&gt;This is often useful if there are setting that are needed for a given OS&lt;/LI&gt;
&lt;LI&gt;This is for the type of machine.  EndPointFwd, HeavyWeightFwd, IntermediateFwd&lt;/LI&gt;
&lt;LI&gt;The name of the app or file that will be target.
base is often used to imply inputs.conf, web.conf, server.conf, outputs.conf&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Tue, 29 Sep 2020 07:48:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/what-are-your-Deployment-App-naming-conventions/m-p/216709#M73407</guid>
      <dc:creator>willamwar</dc:creator>
      <dc:date>2020-09-29T07:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: what are your Deployment App naming conventions?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/what-are-your-Deployment-App-naming-conventions/m-p/216710#M73408</link>
      <description>&lt;P&gt;cheers @williamwar!  2 follow-ups for you:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt; any caution about renaming existing apps?  like if i have one called "foo_indexes", any issues if i rename it to "acme_NYC_foo_indexes" to match my new naming convention?&lt;/LI&gt;
&lt;LI&gt;just confirming - but following &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.0/Admin/Wheretofindtheconfigurationfiles" target="_blank"&gt;Configuration File Precedence&lt;/A&gt; - if i split these out from already-existing system-local files, i'll need to 1) also blow away system/local copies of those entries on each system and 2) restart splunk.&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Tue, 29 Sep 2020 07:48:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/what-are-your-Deployment-App-naming-conventions/m-p/216710#M73408</guid>
      <dc:creator>awurster</dc:creator>
      <dc:date>2020-09-29T07:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: what are your Deployment App naming conventions?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/what-are-your-Deployment-App-naming-conventions/m-p/216711#M73409</link>
      <description>&lt;OL&gt;
&lt;LI&gt;Renaming apps almost always works fine. I have seen issues (I'm guessing where the UF crashes on restart) where the old app gets left behind, and is now unmanaged. In my case I tend to use a naming scheme with the config/file or function at the beginning. This might be 'monitor_' or 'parsing_'. In the case of apps sourced from splunkbase I use them without renaming, with as few mondifications as possible. This makes matching them back with splunkbase downloads and doing upgrades easier. The specific configurations go in a second app that overrides the configs in the first. (e.g: Splunk_TA_windows from splunk base, and Splunk_TA_windows_datacentre3 with some mods)&lt;/LI&gt;
&lt;LI&gt;I also have added a scripted input that runs btool on inputs each day. This outputs enough information to figure out the name of all the apps on an endpoint, and pickup if you have more deployed than you want. This also allows us to pick up if someone has deployed their own app manually on an endpoint. UNIX sh:
&lt;CODE&gt;$SPLUNK_HOME/bin/splunk btool --debug check &amp;gt;/dev/null 2&amp;gt;&amp;amp;1
$SPLUNK_HOME/bin/splunk btool --debug inputs list &amp;gt; $SPLUNK_HOME/var/log/splunk/btool_inputs.log&lt;/CODE&gt;
Windows bat:
&lt;CODE&gt;ECHO OFF
"%SPLUNK_HOME%\bin\splunk" btool --debug check &amp;gt; nul
"%SPLUNK_HOME%\bin\splunk" btool --debug inputs list &amp;gt; "%SPLUNK_HOME%\var\log\splunk\btool_inputs.log"
&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI&gt;Avoid configs in system/local where possible, as otherwise you can never override them. &lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Tue, 29 Sep 2020 07:48:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/what-are-your-Deployment-App-naming-conventions/m-p/216711#M73409</guid>
      <dc:creator>datasearchninja</dc:creator>
      <dc:date>2020-09-29T07:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: what are your Deployment App naming conventions?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/what-are-your-Deployment-App-naming-conventions/m-p/216712#M73410</link>
      <description>&lt;P&gt;awesome insight @Colin Humphreys!  thanks man!&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2015 23:32:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/what-are-your-Deployment-App-naming-conventions/m-p/216712#M73410</guid>
      <dc:creator>awurster</dc:creator>
      <dc:date>2015-11-02T23:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: what are your Deployment App naming conventions?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/what-are-your-Deployment-App-naming-conventions/m-p/216713#M73411</link>
      <description>&lt;P&gt;I have a rule to minimize rate of change when possible, so I would follow a 5 step process.&lt;/P&gt;

&lt;P&gt;1)  Add NewApp (cp OldApp NewApp)&lt;BR /&gt;
2) Using the Deployment GUI, map the NewApp to the same set of clients as the OldApp was mapped to&lt;BR /&gt;
Wait-Verify&lt;BR /&gt;
3)  Remove the OldApp from clients &lt;BR /&gt;
Wait-Verify&lt;BR /&gt;
4) Remove the OldApp from the CLI&lt;BR /&gt;
5) Modify NewApp as needed&lt;/P&gt;

&lt;P&gt;On to your next question... If you are moving something from system-local then you are correct.  That would be step 4 above - then you would still need a service restart.&lt;/P&gt;

&lt;P&gt;If you would like to understand where you are getting configurations from use the &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.0/Troubleshooting/Usebtooltotroubleshootconfigurations"&gt;btool&lt;/A&gt; command.&lt;/P&gt;

&lt;P&gt;./splunk cmd btool props list --debug&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2015 01:10:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/what-are-your-Deployment-App-naming-conventions/m-p/216713#M73411</guid>
      <dc:creator>willamwar</dc:creator>
      <dc:date>2015-11-03T01:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: what are your Deployment App naming conventions?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/what-are-your-Deployment-App-naming-conventions/m-p/216714#M73412</link>
      <description>&lt;P&gt;While similar to the accepted answer above, I find it easier to see what is/should be deployed where if there is a slightly different order to the parts of the app name.&lt;/P&gt;

&lt;P&gt;We create apps based on functionality -- "Internal App for our main webapp cluster" will be the user-facing name of it (functionality to monitor the J2EE stacks that back our production website), but on the back end, I have 3 apps^W^W 6 apps defined:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;int_webapp_prod_data&lt;/LI&gt;
&lt;LI&gt;int_webapp_prod_ui&lt;/LI&gt;
&lt;LI&gt;int_webapp_prod_agent&lt;/LI&gt;
&lt;LI&gt;int_webapp_test_data&lt;/LI&gt;
&lt;LI&gt;int_webapp_test_ui&lt;/LI&gt;
&lt;LI&gt;int_webapp_test_agent&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;(See the pattern, and how things would line up in the Deployment Server interface?)&lt;/P&gt;

&lt;P&gt;The _data apps contain the index definitions and any index-time extractions (indexes.conf, fields.conf, etc.)  This is deployed (via DS) to all of my indexers&lt;BR /&gt;
The _ui app has search-time configurations-- saved searches, dashboards, search-time extractions, and other things that influence the user interface&lt;BR /&gt;
The _agent app gets sent via the DS to the relevant forwarders (in this example, it would be deployed to the internal app servers.  This contains (basically) 2 pieces: inputs.conf and outputs.conf.  What to look for, and where to send it, but sometimes the inputs require a python script or something in .../bin&lt;/P&gt;

&lt;P&gt;And of course, you have a test environment, right? &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;A couple of code-requirements I've found useful in the apps:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;Make a macro that abstracts the index names in the UI app.  So instead of having "index=webapp_perf" as the search, put that in macros.conf and search &lt;CODE&gt;webapp_index&lt;/CODE&gt; instead.  Just in case your index needs to be renamed (or the app published)&lt;/LI&gt;
&lt;LI&gt;Specify output locations for your data, even if the default would work.  Much better for migration when you need a different indexer (like when you move your app from the test index to the production one)&lt;/LI&gt;
&lt;LI&gt;Use version control (I use git) to move changes from "developer-sandbox" to "test" to "prod".&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Tue, 29 Sep 2020 08:11:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/what-are-your-Deployment-App-naming-conventions/m-p/216714#M73412</guid>
      <dc:creator>jpvlsmv</dc:creator>
      <dc:date>2020-09-29T08:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: what are your Deployment App naming conventions?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/what-are-your-Deployment-App-naming-conventions/m-p/216715#M73413</link>
      <description>&lt;P&gt;Will you give an example macro and and example search that uses it?  I would probably use &lt;CODE&gt;eventtypes&lt;/CODE&gt; for this abstraction instead.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2015 14:49:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/what-are-your-Deployment-App-naming-conventions/m-p/216715#M73413</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-12-18T14:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: what are your Deployment App naming conventions?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/what-are-your-Deployment-App-naming-conventions/m-p/216716#M73414</link>
      <description>&lt;P&gt;sorry for the delay:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;defaults/macros.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[int_webapp_idx1]
definition= index=the_real_index_name
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;defaults/savedsearches.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[Event count by host last 15 minutes]
search = `int_webapp_idx1` 
dispatch.earliest_time = -7d
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The macro name gets enclosed in backquotes in the query, which turns that bit of the answer into "code" and mangles my answer&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2016 20:51:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/what-are-your-Deployment-App-naming-conventions/m-p/216716#M73414</guid>
      <dc:creator>jpvlsmv</dc:creator>
      <dc:date>2016-04-14T20:51:34Z</dc:date>
    </item>
  </channel>
</rss>

