<?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 No arguments provided in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/No-arguments-provided/m-p/97352#M25132</link>
    <description>&lt;P&gt;I followed the example in &lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0.2/AdvancedDev/SearchScripts"&gt;http://docs.splunk.com/Documentation/Splunk/5.0.2/AdvancedDev/SearchScripts&lt;/A&gt;.&lt;BR /&gt;
When I want to do a search which is |mypyscript, my result is "Error in 'mypyscript' command: command="mypyscript", No arguments provided"&lt;BR /&gt;
Why? Please help me.&lt;BR /&gt;
Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 17 Apr 2013 08:27:14 GMT</pubDate>
    <dc:creator>carmenho92</dc:creator>
    <dc:date>2013-04-17T08:27:14Z</dc:date>
    <item>
      <title>No arguments provided</title>
      <link>https://community.splunk.com/t5/Splunk-Search/No-arguments-provided/m-p/97352#M25132</link>
      <description>&lt;P&gt;I followed the example in &lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0.2/AdvancedDev/SearchScripts"&gt;http://docs.splunk.com/Documentation/Splunk/5.0.2/AdvancedDev/SearchScripts&lt;/A&gt;.&lt;BR /&gt;
When I want to do a search which is |mypyscript, my result is "Error in 'mypyscript' command: command="mypyscript", No arguments provided"&lt;BR /&gt;
Why? Please help me.&lt;BR /&gt;
Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2013 08:27:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/No-arguments-provided/m-p/97352#M25132</guid>
      <dc:creator>carmenho92</dc:creator>
      <dc:date>2013-04-17T08:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: No arguments provided</title>
      <link>https://community.splunk.com/t5/Splunk-Search/No-arguments-provided/m-p/97353#M25133</link>
      <description>&lt;P&gt;Are you providing any arguments to your script? If you aren't then the script is likely failing at this line:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;if len(sys.argv) &amp;lt; 2:
    splunk.Intersplunk.parseError("No arguments provided")
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;That line expects that an argument has been provided (since the example expects an argument).&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2013 15:27:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/No-arguments-provided/m-p/97353#M25133</guid>
      <dc:creator>LukeMurphey</dc:creator>
      <dc:date>2013-04-17T15:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: No arguments provided</title>
      <link>https://community.splunk.com/t5/Splunk-Search/No-arguments-provided/m-p/97354#M25134</link>
      <description>&lt;P&gt;i tried entering |mypyscript ema n e result is Error in 'mypyscript' command: command="mypyscript", Invalid argument 'ema'&lt;BR /&gt;
wad argument should i put?&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2013 00:39:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/No-arguments-provided/m-p/97354#M25134</guid>
      <dc:creator>carmenho92</dc:creator>
      <dc:date>2013-04-18T00:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: No arguments provided</title>
      <link>https://community.splunk.com/t5/Splunk-Search/No-arguments-provided/m-p/97355#M25135</link>
      <description>&lt;P&gt;@carmenho92: That error is because the script expects the arguments in the format: &lt;TYPE&gt;&lt;PERIOD&gt;(&lt;FIELDNAME&gt;) [as &lt;NEWNAME&gt;]&lt;/NEWNAME&gt;&lt;/FIELDNAME&gt;&lt;/PERIOD&gt;&lt;/TYPE&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2013 04:25:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/No-arguments-provided/m-p/97355#M25135</guid>
      <dc:creator>LukeMurphey</dc:creator>
      <dc:date>2013-04-18T04:25:35Z</dc:date>
    </item>
  </channel>
</rss>

