<?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 failures in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Transaction-failures/m-p/15575#M1945</link>
    <description>&lt;P&gt;Excellent. Thanks.&lt;/P&gt;</description>
    <pubDate>Wed, 16 Jun 2010 03:47:53 GMT</pubDate>
    <dc:creator>twinspop</dc:creator>
    <dc:date>2010-06-16T03:47:53Z</dc:date>
    <item>
      <title>Transaction failures</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transaction-failures/m-p/15573#M1943</link>
      <description>&lt;P&gt;Trying to get a transaction search to work. The transaction is logged in 2 different log sources, with the matching field named differently in each. I use rename to match them up. The DXI events have CORRELATIONID, the sendMessage events have msgid.&lt;/P&gt;

&lt;P&gt;I manually found 1 that I know exists and searched for its GUID explicitly, along with the 2 identifiers I'll use in the generic search, and piped them into transaction. The maxspan is 130m because the test transaction takes about 123m to complete.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(DXI OR sendMessage) 652F5692-5F3F-3434-F47B-180BA1CBDDEF | rename CORRELATIONID as msgid | transaction msgid keepevicted=true maxspan=130m
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;1 transaction returned with an eventcount of 2. Exactly the result I expected. Now let's remove the GUID  and see all of them:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;DXI OR sendMessage | rename CORRELATIONID as msgid | transaction msgid keepevicted=true maxspan=130m
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Nope. Not even the test case above is matched. Same time frame searched. What am I missing? There are ~ 90k msgid matches in the target time frame. Too many to run a transaction against with defaults limits set?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2010 01:17:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transaction-failures/m-p/15573#M1943</guid>
      <dc:creator>twinspop</dc:creator>
      <dc:date>2010-06-16T01:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction failures</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transaction-failures/m-p/15574#M1944</link>
      <description>&lt;P&gt;Yes. Try setting the &lt;CODE&gt;maxopentxn&lt;/CODE&gt; parameter as a transaction argument. By default, it will only leave open 5000 transactions. Feel free to raise it to several hundred thousand or higher. You might also want to raise &lt;CODE&gt;maxopenevents&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;Also, if you just want the eventcount or some other fields in the events, rather than the full event, use stats:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; ... | stats count as evencount, max(_time) as endtime, min(_time) as starttime, first(otherfield) as otherfield by msgid
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I'm assuming that since msgids are GUIDs, the maxspan doesn't matter at all, and could be infinite.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2010 02:42:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transaction-failures/m-p/15574#M1944</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-06-16T02:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction failures</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transaction-failures/m-p/15575#M1945</link>
      <description>&lt;P&gt;Excellent. Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2010 03:47:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transaction-failures/m-p/15575#M1945</guid>
      <dc:creator>twinspop</dc:creator>
      <dc:date>2010-06-16T03:47:53Z</dc:date>
    </item>
  </channel>
</rss>

