<?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: How to use transaction command in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-transaction-command/m-p/136261#M37266</link>
    <description>&lt;P&gt;Many thanks MuS. It worked when I have added up the keepevicted parameter.&lt;BR /&gt;
Could you please explain in detail what it does?&lt;/P&gt;

&lt;P&gt;And now I guess  I don't need to mention maxevents right? Because without maxevents its clubbing fine now.&lt;BR /&gt;
Is this correct?&lt;/P&gt;</description>
    <pubDate>Thu, 27 Nov 2014 08:58:46 GMT</pubDate>
    <dc:creator>splunkn</dc:creator>
    <dc:date>2014-11-27T08:58:46Z</dc:date>
    <item>
      <title>How to use transaction command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-transaction-command/m-p/136259#M37264</link>
      <description>&lt;P&gt;Im very new to splunk. Could anyone please help me with the following issue?&lt;/P&gt;

&lt;P&gt;I am in need to collect the details about the user for the Success Login attempts.&lt;BR /&gt;
These success login attempts events are split up into 2 or 3 events with various details in each event. I want to group these two or three events by a transaction ID&lt;/P&gt;

&lt;P&gt;Sample logs&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Passed Login &amp;lt;0112233&amp;gt; username=abc
Passed Login &amp;lt;0112233&amp;gt; userage=20
Passed Login &amp;lt;0112233&amp;gt; userid=12345
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Field extracted - &lt;CODE&gt;TransactionID = 0112233&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;If i give query like this &lt;CODE&gt;"index=* sourcetype=* "Passed Login" | transaction TransactionID&lt;/CODE&gt;, I am getting results but which are limited to only 4999. (upto 5000). But im having more events. Why those events are not taken into account&lt;/P&gt;

&lt;P&gt;If I use the parameter maxevents=2, then uniquetransaction with 3 events are getting omitted?&lt;/P&gt;

&lt;P&gt;How to done with the above ? Any ideas??&lt;/P&gt;

&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Thu, 27 Nov 2014 07:07:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-transaction-command/m-p/136259#M37264</guid>
      <dc:creator>splunkn</dc:creator>
      <dc:date>2014-11-27T07:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to use transaction command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-transaction-command/m-p/136260#M37265</link>
      <description>&lt;P&gt;Hi splunkn,&lt;/P&gt;

&lt;P&gt;you are hitting a limit which is set in &lt;CODE&gt;limits.conf&lt;/CODE&gt; related to &lt;CODE&gt;evicted&lt;/CODE&gt; events. Use your search like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=* sourcetype=* "Passed Login" | transaction keepevicted=true TransactionID
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Regarding your problem 3 events or more per transaction being omitted; well if you use the &lt;CODE&gt;maxevents=2&lt;/CODE&gt; option you will get back max 2 events. From the docs:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;maxevents=&amp;lt;int&amp;gt;
Description: The maximum number of events in a transaction. If the value is negative this constraint  is disabled. By default, maxevents=1000.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Thu, 27 Nov 2014 08:08:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-transaction-command/m-p/136260#M37265</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-11-27T08:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to use transaction command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-transaction-command/m-p/136261#M37266</link>
      <description>&lt;P&gt;Many thanks MuS. It worked when I have added up the keepevicted parameter.&lt;BR /&gt;
Could you please explain in detail what it does?&lt;/P&gt;

&lt;P&gt;And now I guess  I don't need to mention maxevents right? Because without maxevents its clubbing fine now.&lt;BR /&gt;
Is this correct?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Nov 2014 08:58:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-transaction-command/m-p/136261#M37266</guid>
      <dc:creator>splunkn</dc:creator>
      <dc:date>2014-11-27T08:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to use transaction command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-transaction-command/m-p/136262#M37267</link>
      <description>&lt;P&gt;take a look at the docs about the &lt;CODE&gt;transaction&lt;/CODE&gt; command &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.0/SearchReference/Transaction"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.0/SearchReference/Transaction&lt;/A&gt; it has all the details &lt;/P&gt;

&lt;P&gt;Yes, you don't need maxevents.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Nov 2014 09:02:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-transaction-command/m-p/136262#M37267</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-11-27T09:02:18Z</dc:date>
    </item>
  </channel>
</rss>

