<?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: Is there a limit on the number of events returned from the transaction? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-limit-on-the-number-of-events-returned-from-the/m-p/110804#M28985</link>
    <description>&lt;P&gt;I ran into this.  Try adding the "keepevicted" (boolean) option to the transaction command.  In your example simply : &lt;BR /&gt;
   &lt;CODE&gt;... | transaction DpsNum maxevents=-1 keepevicted&lt;/CODE&gt;&lt;BR /&gt;
That got me from ~5000 to ~35000.&lt;/P&gt;</description>
    <pubDate>Wed, 28 Jan 2015 21:27:47 GMT</pubDate>
    <dc:creator>kace</dc:creator>
    <dc:date>2015-01-28T21:27:47Z</dc:date>
    <item>
      <title>Is there a limit on the number of events returned from the transaction?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-limit-on-the-number-of-events-returned-from-the/m-p/110802#M28983</link>
      <description>&lt;P&gt;I run this command:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=dccmtdit sourcetype=DCCMT_Log4J_JSON | transaction DpsNum maxevents=-1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;It returns: 4,999 events (before 11/11/14 11:34:05.000 AM)&lt;/P&gt;

&lt;P&gt;I would expect the number of events returned to be the same as the distinct count of events returned by the following command:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=dccmtdit sourcetype=DCCMT_Log4J_JSON | stats dc(DpsNum)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;However, the number of events returned from the second command is:&lt;/P&gt;

&lt;P&gt;dc(DpsNum)&lt;BR /&gt;
45733&lt;/P&gt;

&lt;P&gt;Is there a limit somewhere which prevents me from having all of the events in the transaction? I have various messages coming in which update the status of the event and it is possible that these messages may come in out of order.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Nov 2014 17:44:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-limit-on-the-number-of-events-returned-from-the/m-p/110802#M28983</guid>
      <dc:creator>nfieglein</dc:creator>
      <dc:date>2014-11-11T17:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a limit on the number of events returned from the transaction?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-limit-on-the-number-of-events-returned-from-the/m-p/110803#M28984</link>
      <description>&lt;P&gt;It is actually a limit of the number of open transaction handles. The parameters (also in limits.conf) is maxopentxn. Playing with this variables, though, seems to have crashed my splunkd. I think I am going to have to seek an alternative to transactions for what I want to do. I really just want to combine events which have the same ID, so maybe dedup will allow me to do that.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Nov 2014 19:41:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-limit-on-the-number-of-events-returned-from-the/m-p/110803#M28984</guid>
      <dc:creator>nfieglein</dc:creator>
      <dc:date>2014-11-11T19:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a limit on the number of events returned from the transaction?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-limit-on-the-number-of-events-returned-from-the/m-p/110804#M28985</link>
      <description>&lt;P&gt;I ran into this.  Try adding the "keepevicted" (boolean) option to the transaction command.  In your example simply : &lt;BR /&gt;
   &lt;CODE&gt;... | transaction DpsNum maxevents=-1 keepevicted&lt;/CODE&gt;&lt;BR /&gt;
That got me from ~5000 to ~35000.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jan 2015 21:27:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-limit-on-the-number-of-events-returned-from-the/m-p/110804#M28985</guid>
      <dc:creator>kace</dc:creator>
      <dc:date>2015-01-28T21:27:47Z</dc:date>
    </item>
  </channel>
</rss>

