<?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 Why does &amp;quot;splunk train cmd classify&amp;quot; say &amp;quot;Parameters must be in the form '-parameter value' in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-quot-splunk-train-cmd-classify-quot-say-quot-Parameters/m-p/17790#M2365</link>
    <description>&lt;P&gt;I tried "splunk train sourcetype filename sourcename" and received the same error.   Then I found &lt;A href="http://answers.splunk.com/questions/3633/splunk-train-sourcetype-doesnt-work-gives-parameters-must-be-in-the-form-par" rel="nofollow"&gt;this answer&lt;/A&gt; and got the following:&lt;/P&gt;

&lt;P&gt;$ /opt/splunk/bin/splunk train cmd classify /home/mike/work/current/tests/last_2k3.log centrifydc
Parameters must be in the form '-parameter value'&lt;/P&gt;

&lt;P&gt;So back to the original question, do you pass the train command a sample log file, or something else?&lt;/P&gt;</description>
    <pubDate>Wed, 21 Jul 2010 07:28:55 GMT</pubDate>
    <dc:creator>mpatnode</dc:creator>
    <dc:date>2010-07-21T07:28:55Z</dc:date>
    <item>
      <title>Why does "splunk train cmd classify" say "Parameters must be in the form '-parameter value'</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-quot-splunk-train-cmd-classify-quot-say-quot-Parameters/m-p/17790#M2365</link>
      <description>&lt;P&gt;I tried "splunk train sourcetype filename sourcename" and received the same error.   Then I found &lt;A href="http://answers.splunk.com/questions/3633/splunk-train-sourcetype-doesnt-work-gives-parameters-must-be-in-the-form-par" rel="nofollow"&gt;this answer&lt;/A&gt; and got the following:&lt;/P&gt;

&lt;P&gt;$ /opt/splunk/bin/splunk train cmd classify /home/mike/work/current/tests/last_2k3.log centrifydc
Parameters must be in the form '-parameter value'&lt;/P&gt;

&lt;P&gt;So back to the original question, do you pass the train command a sample log file, or something else?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2010 07:28:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-quot-splunk-train-cmd-classify-quot-say-quot-Parameters/m-p/17790#M2365</guid>
      <dc:creator>mpatnode</dc:creator>
      <dc:date>2010-07-21T07:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: Why does "splunk train cmd classify" say "Parameters must be in the form '-parameter value'</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-quot-splunk-train-cmd-classify-quot-say-quot-Parameters/m-p/17791#M2366</link>
      <description>&lt;P&gt;Remove the word train in your command. Classify replaces train.&lt;/P&gt;</description>
      <pubDate>Sat, 24 Jul 2010 07:34:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-quot-splunk-train-cmd-classify-quot-say-quot-Parameters/m-p/17791#M2366</guid>
      <dc:creator>rroberts</dc:creator>
      <dc:date>2010-07-24T07:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: Why does "splunk train cmd classify" say "Parameters must be in the form '-parameter value'</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-does-quot-splunk-train-cmd-classify-quot-say-quot-Parameters/m-p/17792#M2367</link>
      <description>&lt;P&gt;Doh! Awsome. Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2010 03:24:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-does-quot-splunk-train-cmd-classify-quot-say-quot-Parameters/m-p/17792#M2367</guid>
      <dc:creator>mpatnode</dc:creator>
      <dc:date>2010-08-17T03:24:20Z</dc:date>
    </item>
  </channel>
</rss>

