<?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: Identify User Logged Out From Inactivity in Security</title>
    <link>https://community.splunk.com/t5/Security/Identify-User-Logged-Out-From-Inactivity/m-p/148974#M4548</link>
    <description>&lt;P&gt;You can get close to this with some heuristics and use of the &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1.2/SearchReference/Transaction"&gt;transaction&lt;/A&gt; command - specifically through the use of &lt;CODE&gt;maxpause&lt;/CODE&gt;.  The theory is that when a user is active, the result of that activity creates log entries.  But, if they stop being active for the application's idle timeout (which you have to know), then they have in effect "logged out by inactivity".  &lt;/P&gt;

&lt;P&gt;The "logout time" can be loosely defined as "the last event + idle timeout"&lt;/P&gt;

&lt;P&gt;So, a search something like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype=webseal source=*/request.log 
| transaction maxpause=30m userid
| eval logout_time=_time + duration + (30 * 60)
| table userid, logout_time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;would at least get you in the neighborhood.&lt;/P&gt;</description>
    <pubDate>Sun, 20 Jul 2014 14:16:37 GMT</pubDate>
    <dc:creator>dwaddle</dc:creator>
    <dc:date>2014-07-20T14:16:37Z</dc:date>
    <item>
      <title>Identify User Logged Out From Inactivity</title>
      <link>https://community.splunk.com/t5/Security/Identify-User-Logged-Out-From-Inactivity/m-p/148970#M4544</link>
      <description>&lt;P&gt;Hi all, we are looking at Splunk as a potential source to identify users that have long periods of inactivity.  If there is no formal "logged out" or "timed out" message to queue on in the logs, would there be some way to determine time between last activity and then after a specified period of inactivity, the user is considered "logged out by inactivity" and added to a report that will be sent daily?  Is this within Splunk's capabilities?  If so, would this require any special scripting beyond a complex search?&lt;/P&gt;

&lt;P&gt;I know this is pretty vague and I don't have a lot of specifics yet, but just wanted to throw it out and get some initial feedback.  I'll provide updates as things progress.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jul 2014 16:25:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Identify-User-Logged-Out-From-Inactivity/m-p/148970#M4544</guid>
      <dc:creator>swsouth</dc:creator>
      <dc:date>2014-07-18T16:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: Identify User Logged Out From Inactivity</title>
      <link>https://community.splunk.com/t5/Security/Identify-User-Logged-Out-From-Inactivity/m-p/148971#M4545</link>
      <description>&lt;P&gt;This information is for Splunk itself (splunk web usage by users) or any other application whose data in indexed in splunk?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jul 2014 17:06:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Identify-User-Logged-Out-From-Inactivity/m-p/148971#M4545</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-07-18T17:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Identify User Logged Out From Inactivity</title>
      <link>https://community.splunk.com/t5/Security/Identify-User-Logged-Out-From-Inactivity/m-p/148972#M4546</link>
      <description>&lt;P&gt;To add to what somesoni2 has asked for, if it is some other application's data indexed in splunk and if the log files contain the minimum required information then it is possible to generate the report that you are asking for. Whether a script is required or a splunk search is sufficient depends on the data granularity present in log events.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jul 2014 17:36:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Identify-User-Logged-Out-From-Inactivity/m-p/148972#M4546</guid>
      <dc:creator>strive</dc:creator>
      <dc:date>2014-07-18T17:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: Identify User Logged Out From Inactivity</title>
      <link>https://community.splunk.com/t5/Security/Identify-User-Logged-Out-From-Inactivity/m-p/148973#M4547</link>
      <description>&lt;P&gt;Somesoni2, this is for another application, not Splunk.  Strive, the data is supposed to be provided from the WebSEAL logs (specifically, request.log).  They initially identified userid, IP, log in/out time, last activity time as the required info.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jul 2014 21:00:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Identify-User-Logged-Out-From-Inactivity/m-p/148973#M4547</guid>
      <dc:creator>swsouth</dc:creator>
      <dc:date>2014-07-18T21:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: Identify User Logged Out From Inactivity</title>
      <link>https://community.splunk.com/t5/Security/Identify-User-Logged-Out-From-Inactivity/m-p/148974#M4548</link>
      <description>&lt;P&gt;You can get close to this with some heuristics and use of the &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1.2/SearchReference/Transaction"&gt;transaction&lt;/A&gt; command - specifically through the use of &lt;CODE&gt;maxpause&lt;/CODE&gt;.  The theory is that when a user is active, the result of that activity creates log entries.  But, if they stop being active for the application's idle timeout (which you have to know), then they have in effect "logged out by inactivity".  &lt;/P&gt;

&lt;P&gt;The "logout time" can be loosely defined as "the last event + idle timeout"&lt;/P&gt;

&lt;P&gt;So, a search something like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype=webseal source=*/request.log 
| transaction maxpause=30m userid
| eval logout_time=_time + duration + (30 * 60)
| table userid, logout_time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;would at least get you in the neighborhood.&lt;/P&gt;</description>
      <pubDate>Sun, 20 Jul 2014 14:16:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Identify-User-Logged-Out-From-Inactivity/m-p/148974#M4548</guid>
      <dc:creator>dwaddle</dc:creator>
      <dc:date>2014-07-20T14:16:37Z</dc:date>
    </item>
  </channel>
</rss>

