<?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: Is there a way to run cmd btool check via rest? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-run-cmd-btool-check-via-rest/m-p/446313#M77628</link>
    <description>&lt;P&gt;Very interesting @MuS.&lt;/P&gt;</description>
    <pubDate>Wed, 12 Jun 2019 20:31:49 GMT</pubDate>
    <dc:creator>ddrillic</dc:creator>
    <dc:date>2019-06-12T20:31:49Z</dc:date>
    <item>
      <title>Is there a way to run cmd btool check via rest?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-run-cmd-btool-check-via-rest/m-p/446304#M77619</link>
      <description>&lt;P&gt;@harsmarvania57 suggested to use the lovely and useful &lt;CODE&gt;./splunk cmd btool check&lt;/CODE&gt; command In &lt;A href="https://answers.splunk.com/answers/687297/when-modifying-serverclassconf-which-safeguards-co.html"&gt;When modifying serverclass which safeguards could help us avoid the following mistakes?&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Since most of our users use Jenkins to deploy their code, is there a way to run this command via rest?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Oct 2018 16:31:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-run-cmd-btool-check-via-rest/m-p/446304#M77619</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2018-10-25T16:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to run cmd btool check via rest?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-run-cmd-btool-check-via-rest/m-p/446305#M77620</link>
      <description>&lt;P&gt;Hi ddrillic,&lt;/P&gt;

&lt;P&gt;there might be something, because the old S.O.S app used it by using a custom command. &lt;/P&gt;

&lt;P&gt;But why not use the &lt;A href="https://splunkbase.splunk.com/app/1607/"&gt;https://splunkbase.splunk.com/app/1607/&lt;/A&gt; that will provide shell access within Splunk where one can run &lt;CODE&gt;btool&lt;/CODE&gt; for example.&lt;/P&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Fri, 26 Oct 2018 01:12:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-run-cmd-btool-check-via-rest/m-p/446305#M77620</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2018-10-26T01:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to run cmd btool check via rest?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-run-cmd-btool-check-via-rest/m-p/446306#M77621</link>
      <description>&lt;P&gt;One thing you can't do with it is pipe to something else. This would normally show all the inputs.conf stanza names but in the app it just shows you usage info. Here on *nix:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$ splunk cmd btool inputs list --debug | grep "\["

/opt/splunk/etc/apps/unix/local/inputs.conf                            [script:///opt/splunk/etc/apps/unix/bin/ps.sh]
/opt/splunk/etc/apps/unix/local/inputs.conf                            [script:///opt/splunk/etc/apps/unix/bin/rlog.sh]
/opt/splunk/etc/apps/unix/local/inputs.conf                            [script:///opt/splunk/etc/apps/unix/bin/time.sh]
/opt/splunk/etc/apps/unix/local/inputs.conf                            [script:///opt/splunk/etc/apps/unix/bin/top.sh]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;etc...&lt;/P&gt;</description>
      <pubDate>Fri, 26 Oct 2018 18:53:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-run-cmd-btool-check-via-rest/m-p/446306#M77621</guid>
      <dc:creator>wrangler2x</dc:creator>
      <dc:date>2018-10-26T18:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to run cmd btool check via rest?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-run-cmd-btool-check-via-rest/m-p/446307#M77622</link>
      <description>&lt;P&gt;Okay, S.O.S app had a custom command called &lt;CODE&gt;btool&lt;/CODE&gt; in it &lt;A href="https://answers.splunk.com/answers/104622/make-output-of-btool-some-conf-type-list-more-legible-unix.html#answer-432032"&gt;https://answers.splunk.com/answers/104622/make-output-of-btool-some-conf-type-list-more-legible-unix.html#answer-432032&lt;/A&gt; You can still download the app here &lt;A href="https://splunkbase.splunk.com/app/748/#/overview"&gt;https://splunkbase.splunk.com/app/748/#/overview&lt;/A&gt; Not sure though if you can use it to do &lt;CODE&gt;btool check&lt;/CODE&gt; but well worth to give it a try &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; &lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Fri, 26 Oct 2018 20:45:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-run-cmd-btool-check-via-rest/m-p/446307#M77622</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2018-10-26T20:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to run cmd btool check via rest?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-run-cmd-btool-check-via-rest/m-p/446308#M77623</link>
      <description>&lt;P&gt;Or refer to &lt;A href="https://splunkbase.splunk.com/app/3590/"&gt;Btool Scripted Inputs for Splunk&lt;/A&gt; if you go down this particular path...&lt;/P&gt;</description>
      <pubDate>Fri, 26 Oct 2018 22:22:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-run-cmd-btool-check-via-rest/m-p/446308#M77623</guid>
      <dc:creator>gjanders</dc:creator>
      <dc:date>2018-10-26T22:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to run cmd btool check via rest?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-run-cmd-btool-check-via-rest/m-p/446309#M77624</link>
      <description>&lt;P&gt;Much appreciated @MuS &lt;/P&gt;</description>
      <pubDate>Wed, 31 Oct 2018 20:20:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-run-cmd-btool-check-via-rest/m-p/446309#M77624</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2018-10-31T20:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to run cmd btool check via rest?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-run-cmd-btool-check-via-rest/m-p/446310#M77625</link>
      <description>&lt;P&gt;Thank you @gjanders &lt;/P&gt;</description>
      <pubDate>Wed, 31 Oct 2018 20:21:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-run-cmd-btool-check-via-rest/m-p/446310#M77625</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2018-10-31T20:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to run cmd btool check via rest?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-run-cmd-btool-check-via-rest/m-p/446311#M77626</link>
      <description>&lt;P&gt;@MuS, is there a way to restrict this app, to run only the btool command? with the Unix &lt;CODE&gt;sudo&lt;/CODE&gt; command for example, we can restrict which commands can run...&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2019 14:57:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-run-cmd-btool-check-via-rest/m-p/446311#M77626</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2019-06-12T14:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to run cmd btool check via rest?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-run-cmd-btool-check-via-rest/m-p/446312#M77627</link>
      <description>&lt;P&gt;Which one are you referring @ddrillic ? If it is this one &lt;A href="https://splunkbase.splunk.com/app/1607/"&gt;https://splunkbase.splunk.com/app/1607/&lt;/A&gt; then it is &lt;EM&gt;just&lt;/EM&gt; a python script which can be modified so it only runs &lt;CODE&gt;btool&lt;/CODE&gt; for example.&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2019 20:17:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-run-cmd-btool-check-via-rest/m-p/446312#M77627</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2019-06-12T20:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to run cmd btool check via rest?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-run-cmd-btool-check-via-rest/m-p/446313#M77628</link>
      <description>&lt;P&gt;Very interesting @MuS.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2019 20:31:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-run-cmd-btool-check-via-rest/m-p/446313#M77628</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2019-06-12T20:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to run cmd btool check via rest?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-run-cmd-btool-check-via-rest/m-p/609962#M105726</link>
      <description>&lt;P&gt;I don't think &lt;A href="https://splunkbase.splunk.com/app/1607/" target="_blank"&gt;https://splunkbase.splunk.com/app/1607/&lt;/A&gt; has any chance of being installed in splunk cloud.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Someone at splunk suggested we try &lt;A href="https://splunkbase.splunk.com/app/6368/" target="_blank"&gt;https://splunkbase.splunk.com/app/6368/&lt;/A&gt; which we had no trouble getting installed in cloud and it's working for us.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 10:44:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-run-cmd-btool-check-via-rest/m-p/609962#M105726</guid>
      <dc:creator>gabriel_vasseur</dc:creator>
      <dc:date>2022-08-18T10:44:10Z</dc:date>
    </item>
  </channel>
</rss>

