<?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 Transaction command doesn't work for all events when the 'endswith' event is seen next day. in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Transaction-command-doesn-t-work-for-all-events-when-the/m-p/503253#M195288</link>
    <description>&lt;P&gt;I am trying to run a transaction command for all the patrons where startswith=(Action=CardIn) endswith=(Action=CardOut). My query is:&lt;/P&gt;

&lt;P&gt;index=* |&lt;BR /&gt;
| transaction patron location startswith=Action=CardIn endswith=Action=CardOut keepevicted=t keeporphans=t maxspan=24h  &lt;/P&gt;

&lt;P&gt;It is not grouping the events together when CardIn event is in the afternoon and CardOut event at midnight. &lt;/P&gt;

&lt;P&gt;maxspan doesn't seem to work here. I am using Splunk cloud instance. on specifying &lt;BR /&gt;
 the patron number in the search it works. However, on running it for all patrons it breaks. &lt;/P&gt;

&lt;P&gt;I am running out of ideas, any help appreciated. &lt;/P&gt;</description>
    <pubDate>Tue, 22 Oct 2019 00:49:53 GMT</pubDate>
    <dc:creator>aishwaryabh</dc:creator>
    <dc:date>2019-10-22T00:49:53Z</dc:date>
    <item>
      <title>Transaction command doesn't work for all events when the 'endswith' event is seen next day.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transaction-command-doesn-t-work-for-all-events-when-the/m-p/503253#M195288</link>
      <description>&lt;P&gt;I am trying to run a transaction command for all the patrons where startswith=(Action=CardIn) endswith=(Action=CardOut). My query is:&lt;/P&gt;

&lt;P&gt;index=* |&lt;BR /&gt;
| transaction patron location startswith=Action=CardIn endswith=Action=CardOut keepevicted=t keeporphans=t maxspan=24h  &lt;/P&gt;

&lt;P&gt;It is not grouping the events together when CardIn event is in the afternoon and CardOut event at midnight. &lt;/P&gt;

&lt;P&gt;maxspan doesn't seem to work here. I am using Splunk cloud instance. on specifying &lt;BR /&gt;
 the patron number in the search it works. However, on running it for all patrons it breaks. &lt;/P&gt;

&lt;P&gt;I am running out of ideas, any help appreciated. &lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2019 00:49:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transaction-command-doesn-t-work-for-all-events-when-the/m-p/503253#M195288</guid>
      <dc:creator>aishwaryabh</dc:creator>
      <dc:date>2019-10-22T00:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction command doesn't work for all events when the 'endswith' event is seen next day.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transaction-command-doesn-t-work-for-all-events-when-the/m-p/503254#M195289</link>
      <description>&lt;P&gt;Are you sure your results for all patrons are coming back sorted in descending time order?&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2019 22:38:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transaction-command-doesn-t-work-for-all-events-when-the/m-p/503254#M195289</guid>
      <dc:creator>rmmiller</dc:creator>
      <dc:date>2019-11-01T22:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction command doesn't work for all events when the 'endswith' event is seen next day.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transaction-command-doesn-t-work-for-all-events-when-the/m-p/503255#M195290</link>
      <description>&lt;P&gt;transaction is a heavy command, so is dependent on settings in limits.conf. There are other factors at play, such as maxopenevents/maxopentxn, the defaults are in limits.conf and in a default enterprise installation default to 100,000 and 5,000 &lt;/P&gt;

&lt;P&gt;These may be different in cloud. That may be relevant for you, but in general when things work at small scale and break at bigger scale, you are often coming up against Splunk default limits&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2019 23:22:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transaction-command-doesn-t-work-for-all-events-when-the/m-p/503255#M195290</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2019-11-01T23:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: Transaction command doesn't work for all events when the 'endswith' event is seen next day.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transaction-command-doesn-t-work-for-all-events-when-the/m-p/503256#M195291</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;index=your_index place=your_place
| streamstats count(eval(Action=="CardIn")) as CardIn 
| stats sum(CardIn)  by Patron_number
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hi, The search with &lt;CODE&gt;transaction&lt;/CODE&gt; is too heavy.&lt;BR /&gt;
We can improve if you have the expected results and the necessary sample logs on time.&lt;/P&gt;</description>
      <pubDate>Sat, 02 Nov 2019 11:39:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transaction-command-doesn-t-work-for-all-events-when-the/m-p/503256#M195291</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2019-11-02T11:39:24Z</dc:date>
    </item>
  </channel>
</rss>

