<?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: Error using fields in transaction in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Error-using-fields-in-transaction/m-p/18258#M2621</link>
    <description>&lt;P&gt;source=*.log |transaction maxspan=10s maxpause=2 fields=UserID, src_ip&lt;/P&gt;

&lt;P&gt;This fails with the error, but if I only use UserID, it works fine.&lt;/P&gt;</description>
    <pubDate>Fri, 27 May 2011 18:07:44 GMT</pubDate>
    <dc:creator>timmy13</dc:creator>
    <dc:date>2011-05-27T18:07:44Z</dc:date>
    <item>
      <title>Error using fields in transaction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-using-fields-in-transaction/m-p/18256#M2619</link>
      <description>&lt;P&gt;I'm trying to define a transaction within a search in the Web UI.  It works fine provided I only supply one field.  However, if I use more than one field, seperated by commas, I get "The fields option is invalid when a list of fields is provided in the argument list."&lt;/P&gt;

&lt;P&gt;The docs clearly state that the fields argument should be a comma delimited list of fields.&lt;/P&gt;

&lt;P&gt;Any ideas?&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2011 14:54:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-using-fields-in-transaction/m-p/18256#M2619</guid>
      <dc:creator>timmy13</dc:creator>
      <dc:date>2011-05-27T14:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error using fields in transaction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-using-fields-in-transaction/m-p/18257#M2620</link>
      <description>&lt;P&gt;Timmy, can you provide your search?&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2011 17:20:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-using-fields-in-transaction/m-p/18257#M2620</guid>
      <dc:creator>hazekamp</dc:creator>
      <dc:date>2011-05-27T17:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: Error using fields in transaction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-using-fields-in-transaction/m-p/18258#M2621</link>
      <description>&lt;P&gt;source=*.log |transaction maxspan=10s maxpause=2 fields=UserID, src_ip&lt;/P&gt;

&lt;P&gt;This fails with the error, but if I only use UserID, it works fine.&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2011 18:07:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-using-fields-in-transaction/m-p/18258#M2621</guid>
      <dc:creator>timmy13</dc:creator>
      <dc:date>2011-05-27T18:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: Error using fields in transaction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-using-fields-in-transaction/m-p/18259#M2622</link>
      <description>&lt;P&gt;I also get this... After the query tries to run...&lt;BR /&gt;
Error in 'transaction': The fields option is invalid when a list of fields is provided in the argument list.&lt;/P&gt;

&lt;P&gt;Seems contradictory, yet I'm sure it's just my lack of the proper usage.&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2011 18:08:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-using-fields-in-transaction/m-p/18259#M2622</guid>
      <dc:creator>timmy13</dc:creator>
      <dc:date>2011-05-27T18:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: Error using fields in transaction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Error-using-fields-in-transaction/m-p/18260#M2623</link>
      <description>&lt;P&gt;The field list in a &lt;A href="http://www.splunk.com/base/Documentation/latest/SearchReference/transaction"&gt;transaction command&lt;/A&gt; does not require an identifier.&lt;BR /&gt;&lt;BR /&gt;
It may be any field listed that is not part of an accepted parameter.&lt;/P&gt;

&lt;P&gt;For example:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source=*.log |transaction maxspan=10s maxpause=2 UserID src_ip
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;OR&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source=*.log |transaction UserID src_ip maxspan=10s maxpause=2 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If you choose to use an identifier, I have found (as have you) that one field works well - but two produces an error.  You may quote the field list to remove that error, like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source=*.log |transaction maxspan=10s maxpause=2 fields="UserID,src_ip"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 27 May 2011 22:58:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Error-using-fields-in-transaction/m-p/18260#M2623</guid>
      <dc:creator>bwooden</dc:creator>
      <dc:date>2011-05-27T22:58:30Z</dc:date>
    </item>
  </channel>
</rss>

