<?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: Splunk Scripting-  GUI or stanza in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Scripting-GUI-or-stanza/m-p/505789#M2146</link>
    <description>&lt;P&gt;The Best Practice method to do that is by using the Deployment Server (DS) to deploy an app containing your script to the target clients.&amp;nbsp; You can even tell the DS to send the app only to Windows clients.&amp;nbsp; Updates to the script are easy - just update the script on the DS and the DS sends the new script to the clients.&lt;/P&gt;&lt;P&gt;Another popular approach is to use Ansible, Puppet, SCCM, or similar tool to deliver the script to the clients.&lt;/P&gt;</description>
    <pubDate>Tue, 23 Jun 2020 17:36:22 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2020-06-23T17:36:22Z</dc:date>
    <item>
      <title>Splunk Scripting-  GUI or stanza</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Scripting-GUI-or-stanza/m-p/505776#M2143</link>
      <description>&lt;P&gt;Team,&lt;/P&gt;&lt;P&gt;i wish to utilize Powershell scripts, deployed to remote clients via the GUI interface - or CLI&lt;/P&gt;&lt;P&gt;Whichever can be made to work.&lt;/P&gt;&lt;P&gt;1. The CLI (Inputs.conf) works if created and maintained on each client&lt;/P&gt;&lt;P&gt;2. The remote script&amp;nbsp; GUI only seems to work for bat files.&lt;/P&gt;&lt;P&gt;3. The V3 modular input only seems to work for localhost&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;History:&lt;/P&gt;&lt;P&gt;&amp;nbsp;i have successfully utilized&amp;nbsp; powershell scripts with in the inputs.conf (placed on each forwarder)&lt;/P&gt;&lt;P&gt;example :&amp;nbsp; &amp;nbsp;&lt;BR /&gt;script = . "C:\Program Files\Splunk\etc\apps\My-App\bin\script.ps1&lt;/P&gt;&lt;P&gt;( I chose to use the full path as the env variable does not seem to stick-- set or setx does not seem to matter)&lt;/P&gt;&lt;P&gt;The downfall of this is the script/ inputs.conf has to be updated manually on each client.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have successfully utilized batch from the GUI (settings &amp;gt; data inputs &amp;gt;remote scripts)&lt;/P&gt;&lt;P&gt;$SPLUNK_HOME/etc/apps/_server_app_W64_NETWORK_INFO/bin/netstat.bat&lt;/P&gt;&lt;P&gt;Attempts with .ps1 scripts does not work.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tried utilizing the&amp;nbsp;Powershell v3 Modular Input&lt;/P&gt;&lt;P&gt;that method only targets the local host (server)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2020 17:33:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Scripting-GUI-or-stanza/m-p/505776#M2143</guid>
      <dc:creator>jmasat</dc:creator>
      <dc:date>2020-06-23T17:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Scripting-  GUI or stanza</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Scripting-GUI-or-stanza/m-p/505789#M2146</link>
      <description>&lt;P&gt;The Best Practice method to do that is by using the Deployment Server (DS) to deploy an app containing your script to the target clients.&amp;nbsp; You can even tell the DS to send the app only to Windows clients.&amp;nbsp; Updates to the script are easy - just update the script on the DS and the DS sends the new script to the clients.&lt;/P&gt;&lt;P&gt;Another popular approach is to use Ansible, Puppet, SCCM, or similar tool to deliver the script to the clients.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2020 17:36:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Scripting-GUI-or-stanza/m-p/505789#M2146</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-06-23T17:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Scripting-  GUI or stanza</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Scripting-GUI-or-stanza/m-p/505796#M2148</link>
      <description>&lt;P&gt;i will look at the DS--&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;have not gone that direction yet- too new to Spunk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The other tools are not available&amp;nbsp; in this environment&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2020 17:47:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Scripting-GUI-or-stanza/m-p/505796#M2148</guid>
      <dc:creator>jmasat</dc:creator>
      <dc:date>2020-06-23T17:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Scripting-  GUI or stanza</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Scripting-GUI-or-stanza/m-p/505805#M2149</link>
      <description>&lt;DIV class="single-value shared-singlevalue span3"&gt;&lt;BR /&gt;&lt;SPAN class="under-label"&gt;DEPLOYED APPS SUCCESSFULLY&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="single-value shared-singlevalue span3"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="single-value shared-singlevalue span3"&gt;&lt;SPAN class="under-label"&gt;&amp;nbsp;This is indicated in the&amp;nbsp; edit server class pane&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="single-value shared-singlevalue span3"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="single-value shared-singlevalue span3"&gt;&lt;SPAN class="under-label"&gt;&amp;nbsp;Is the server deploying?&amp;nbsp; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="single-value shared-singlevalue span3"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="single-value shared-singlevalue span3"&gt;&lt;SPAN class="under-label"&gt;As i stated&amp;nbsp; &amp;nbsp;batch files are working great- Powershell is not&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="single-value shared-singlevalue span3"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="single-value shared-singlevalue span3"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Tue, 23 Jun 2020 18:17:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Scripting-GUI-or-stanza/m-p/505805#M2149</guid>
      <dc:creator>jmasat</dc:creator>
      <dc:date>2020-06-23T18:17:42Z</dc:date>
    </item>
  </channel>
</rss>

