<?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 btool application validation in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/btool-application-validation/m-p/67976#M2393</link>
    <description>&lt;P&gt;I would like to build a btool command into a script that I use to promote content to my deployment server to catch spelling mistakes or issues before deploying the new code.&lt;/P&gt;

&lt;P&gt;Is there a command using btool to validate the syntax of an app before promotion&amp;gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;btool check --debug
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;does all the application and config files, is there a way to specify and app (the one that I am promoting)&lt;BR /&gt;
    btool check --app=iti --debug&lt;/P&gt;

&lt;P&gt;let me know how i can protect myself from myself with btool or some other splunk command&lt;/P&gt;

&lt;P&gt;thanks,&lt;/P&gt;</description>
    <pubDate>Wed, 31 Aug 2011 15:37:54 GMT</pubDate>
    <dc:creator>EricPartington</dc:creator>
    <dc:date>2011-08-31T15:37:54Z</dc:date>
    <item>
      <title>btool application validation</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/btool-application-validation/m-p/67976#M2393</link>
      <description>&lt;P&gt;I would like to build a btool command into a script that I use to promote content to my deployment server to catch spelling mistakes or issues before deploying the new code.&lt;/P&gt;

&lt;P&gt;Is there a command using btool to validate the syntax of an app before promotion&amp;gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;btool check --debug
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;does all the application and config files, is there a way to specify and app (the one that I am promoting)&lt;BR /&gt;
    btool check --app=iti --debug&lt;/P&gt;

&lt;P&gt;let me know how i can protect myself from myself with btool or some other splunk command&lt;/P&gt;

&lt;P&gt;thanks,&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2011 15:37:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/btool-application-validation/m-p/67976#M2393</guid>
      <dc:creator>EricPartington</dc:creator>
      <dc:date>2011-08-31T15:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: btool application validation</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/btool-application-validation/m-p/67977#M2394</link>
      <description>&lt;P&gt;The recipe I've been given (excerpted below) seems to work well to understand what the props list (or the merged contents of any other file) would be, but my current version (5.0.3) is showing validation errors (btool check) of savedsearches.conf. Not sure why, but you can give this a spin:&lt;/P&gt;

&lt;PRE&gt;
$ mkdir -p /tmp/staging
# Set up deployment apps from server
$ cp -pr $SERVER_SPLUNKHOME/etc/deployment-apps /tmp/staging/apps
# Set up "base configuration" plus validation rules from client
$ cp -pr $CLIENT_SPLUNKHOME/etc/system /tmp/staging
# Run checker
$ btool check --dir=/tmp/staging
&lt;/PRE&gt;

&lt;P&gt;(H/T to &lt;A href="http://splunk-base.splunk.com/users/227/ewoo"&gt;ewoo&lt;/A&gt;)&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2013 02:19:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/btool-application-validation/m-p/67977#M2394</guid>
      <dc:creator>sowings</dc:creator>
      <dc:date>2013-06-28T02:19:32Z</dc:date>
    </item>
  </channel>
</rss>

