<?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: Questions regarding the transaction command in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Questions-regarding-the-transaction-command/m-p/40237#M9267</link>
    <description>&lt;P&gt;Is the search you pasted correct? The arguments to &lt;CODE&gt;transaction&lt;/CODE&gt; do not take inequalities -- it should be something like &lt;CODE&gt;maxspan=240m&lt;/CODE&gt; and &lt;CODE&gt;maxpause=15m&lt;/CODE&gt;, not with &lt;CODE&gt;&amp;gt;&lt;/CODE&gt; or &lt;CODE&gt;&amp;lt;&lt;/CODE&gt;.&lt;/P&gt;</description>
    <pubDate>Fri, 08 Jul 2011 21:13:06 GMT</pubDate>
    <dc:creator>Johnvey</dc:creator>
    <dc:date>2011-07-08T21:13:06Z</dc:date>
    <item>
      <title>Questions regarding the transaction command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Questions-regarding-the-transaction-command/m-p/40235#M9265</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;We have a set of log events consisting of user activity by a number of different users in an application. We are trying to construct a search that will returns only those usernames that have been active in the logs (that is log events with that username present) for more that 4 hours but did not take a break of at least 15 minutes (i.e. no activity in the logs for at least 15 minutes). I tried using the transaction command like the one shown below but it does not appear to be working. Any advise on how to accomplish this would be greatly appreciated. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype=app_sourcetype | transaction username maxspan&amp;gt;240m maxpause&amp;lt;15m
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2011 18:22:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Questions-regarding-the-transaction-command/m-p/40235#M9265</guid>
      <dc:creator>dpatnam</dc:creator>
      <dc:date>2011-07-08T18:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: Questions regarding the transaction command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Questions-regarding-the-transaction-command/m-p/40236#M9266</link>
      <description>&lt;P&gt;I tried this search to get a list of all the users that were active in the logs for more than 4 hours (14400 seconds) during a day but I am not sure how I can then use this data to determine those users from this list that had maximum pauses in the logs  for less than 15 minutes (did not take a break of 15 minutes or more) &lt;/P&gt;

&lt;P&gt;sourcetype=app_sourcetype | stats range(_time) as difference by username | where difference &amp;gt; 14400&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 09:43:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Questions-regarding-the-transaction-command/m-p/40236#M9266</guid>
      <dc:creator>dpatnam</dc:creator>
      <dc:date>2020-09-28T09:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Questions regarding the transaction command</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Questions-regarding-the-transaction-command/m-p/40237#M9267</link>
      <description>&lt;P&gt;Is the search you pasted correct? The arguments to &lt;CODE&gt;transaction&lt;/CODE&gt; do not take inequalities -- it should be something like &lt;CODE&gt;maxspan=240m&lt;/CODE&gt; and &lt;CODE&gt;maxpause=15m&lt;/CODE&gt;, not with &lt;CODE&gt;&amp;gt;&lt;/CODE&gt; or &lt;CODE&gt;&amp;lt;&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2011 21:13:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Questions-regarding-the-transaction-command/m-p/40237#M9267</guid>
      <dc:creator>Johnvey</dc:creator>
      <dc:date>2011-07-08T21:13:06Z</dc:date>
    </item>
  </channel>
</rss>

