<?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 Not getting output in Splunk UI search via script command in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Not-getting-output-in-Splunk-UI-search-via-script-command/m-p/401144#M71428</link>
    <description>&lt;P&gt;Hi Team,&lt;/P&gt;

&lt;P&gt;I have configured commands.conf ($splunkHome/etc/apps/search/default)and created argon.py ($splunkHome/etc/apps/search/bin)&lt;BR /&gt;
 as below:&lt;/P&gt;

&lt;P&gt;commands.conf:&lt;BR /&gt;
     [argon]&lt;BR /&gt;
     filename = argon.py&lt;BR /&gt;
     retainsevents = true&lt;BR /&gt;
     outputheader = true&lt;BR /&gt;
     supports_rawargs = true&lt;/P&gt;

&lt;P&gt;argon.py :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;#!/opt/Devops/splunk/bin/python2.7
sys.path.insert(0,'/opt/Devops/splunk/lib/python2.7/site-packages/splunk/')
import Intersplunk as si
import commands

result = []
status, output = commands.getstatusoutput("/opt/Devops/splunk/bin/scripts/argon.linux.x64 -h&amp;amp;HostName -p&amp;amp;Port -f&amp;amp;Route")
results = {
       "out": output
}
result.append(results)
si.outputResults(result)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Script is running fine locally (directly on splunk server) but Splunk UI search is not giving any output&lt;/P&gt;</description>
    <pubDate>Fri, 19 Jul 2019 12:14:14 GMT</pubDate>
    <dc:creator>rbs2019</dc:creator>
    <dc:date>2019-07-19T12:14:14Z</dc:date>
    <item>
      <title>Not getting output in Splunk UI search via script command</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Not-getting-output-in-Splunk-UI-search-via-script-command/m-p/401144#M71428</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;

&lt;P&gt;I have configured commands.conf ($splunkHome/etc/apps/search/default)and created argon.py ($splunkHome/etc/apps/search/bin)&lt;BR /&gt;
 as below:&lt;/P&gt;

&lt;P&gt;commands.conf:&lt;BR /&gt;
     [argon]&lt;BR /&gt;
     filename = argon.py&lt;BR /&gt;
     retainsevents = true&lt;BR /&gt;
     outputheader = true&lt;BR /&gt;
     supports_rawargs = true&lt;/P&gt;

&lt;P&gt;argon.py :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;#!/opt/Devops/splunk/bin/python2.7
sys.path.insert(0,'/opt/Devops/splunk/lib/python2.7/site-packages/splunk/')
import Intersplunk as si
import commands

result = []
status, output = commands.getstatusoutput("/opt/Devops/splunk/bin/scripts/argon.linux.x64 -h&amp;amp;HostName -p&amp;amp;Port -f&amp;amp;Route")
results = {
       "out": output
}
result.append(results)
si.outputResults(result)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Script is running fine locally (directly on splunk server) but Splunk UI search is not giving any output&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2019 12:14:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Not-getting-output-in-Splunk-UI-search-via-script-command/m-p/401144#M71428</guid>
      <dc:creator>rbs2019</dc:creator>
      <dc:date>2019-07-19T12:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: Not getting output in Splunk UI search via script command</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Not-getting-output-in-Splunk-UI-search-via-script-command/m-p/401145#M71429</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;

&lt;P&gt;Any update on above question please?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2019 07:16:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Not-getting-output-in-Splunk-UI-search-via-script-command/m-p/401145#M71429</guid>
      <dc:creator>rbs2019</dc:creator>
      <dc:date>2019-07-23T07:16:50Z</dc:date>
    </item>
  </channel>
</rss>

