<?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: Transaction on eval field in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Transaction-on-eval-field/m-p/80146#M20273</link>
    <description>&lt;P&gt;From the &lt;CODE&gt;transaction&lt;/CODE&gt; page in the search reference:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Given events as input, finds transactions based on events that meet various constraints. Transactions are made up of the raw text (the _raw field) of each member, the time and date fields of the earliest member, as well as the union of all other fields of each member. 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;When you've run &lt;CODE&gt;stats&lt;/CODE&gt;, there is no longer a &lt;CODE&gt;_raw&lt;/CODE&gt; field for &lt;CODE&gt;transaction&lt;/CODE&gt; to use.&lt;/P&gt;

&lt;P&gt;Your search looks kind of weird - what do you want to use &lt;CODE&gt;transaction&lt;/CODE&gt; on your stats results for?&lt;/P&gt;</description>
    <pubDate>Thu, 04 Oct 2012 15:27:33 GMT</pubDate>
    <dc:creator>Ayn</dc:creator>
    <dc:date>2012-10-04T15:27:33Z</dc:date>
    <item>
      <title>Transaction on eval field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transaction-on-eval-field/m-p/80145#M20272</link>
      <description>&lt;P&gt;Is it possible to create a transaction on an eval field after passing through stats?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | stats sum(total) as total sum(units) as units by AccountID Action Item | transaction mvlist=t AccountID 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;AccountID is a field created by an extractor, when I try run the transaction after stats, I get no results. There are a handful of eval's prior to the stats command.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Oct 2012 14:58:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transaction-on-eval-field/m-p/80145#M20272</guid>
      <dc:creator>brettcave</dc:creator>
      <dc:date>2012-10-04T14:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction on eval field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transaction-on-eval-field/m-p/80146#M20273</link>
      <description>&lt;P&gt;From the &lt;CODE&gt;transaction&lt;/CODE&gt; page in the search reference:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Given events as input, finds transactions based on events that meet various constraints. Transactions are made up of the raw text (the _raw field) of each member, the time and date fields of the earliest member, as well as the union of all other fields of each member. 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;When you've run &lt;CODE&gt;stats&lt;/CODE&gt;, there is no longer a &lt;CODE&gt;_raw&lt;/CODE&gt; field for &lt;CODE&gt;transaction&lt;/CODE&gt; to use.&lt;/P&gt;

&lt;P&gt;Your search looks kind of weird - what do you want to use &lt;CODE&gt;transaction&lt;/CODE&gt; on your stats results for?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Oct 2012 15:27:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transaction-on-eval-field/m-p/80146#M20273</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2012-10-04T15:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction on eval field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transaction-on-eval-field/m-p/80147#M20274</link>
      <description>&lt;P&gt;purely for report layout purposes. I want the left column to have the AccountID (once) and then the next column to list the items. When using a transaction, i can display multiple fields. I guess I could use something like the stats &lt;CODE&gt;list&lt;/CODE&gt; function.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Edit&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;
Have just tested and list works perfectly:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | stats list(Item) as Item list(units) as Units list(total) as Total by AccountID Action
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 05 Oct 2012 07:25:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transaction-on-eval-field/m-p/80147#M20274</guid>
      <dc:creator>brettcave</dc:creator>
      <dc:date>2012-10-05T07:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction on eval field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transaction-on-eval-field/m-p/80148#M20275</link>
      <description>&lt;P&gt;Yeah, I was thinking something along those lines &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Good that you got it working!&lt;/P&gt;</description>
      <pubDate>Fri, 05 Oct 2012 09:28:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transaction-on-eval-field/m-p/80148#M20275</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2012-10-05T09:28:20Z</dc:date>
    </item>
  </channel>
</rss>

