<?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 logged in users in Security</title>
    <link>https://community.splunk.com/t5/Security/logged-in-users/m-p/216723#M6132</link>
    <description>&lt;P&gt;Hi at all,&lt;BR /&gt;
I'd like to identify Splunk currently and/or today's logged users.&lt;BR /&gt;
Using &lt;CODE&gt;| rest /services/authentication/current-context splunk_server=local | rename username AS user | table user realname roles&lt;/CODE&gt; I can identify the logged users; and using &lt;CODE&gt;index=_audit  NOT (user="n/a" OR user="splunk-system-user" OR "scheduler__nobody__search" OR "admin" OR "nobody") NOT "REST" NOT scheduler | join type=left user [| rest /services/authentication/current-context splunk_server=local | rename username AS user | table user realname roles ] | transaction user&lt;/CODE&gt; I can identify today's logged users.&lt;/P&gt;

&lt;P&gt;My problem is to identify when users was logged in because I have Splunk configured in SSO with an external authentication system so I cannot find &lt;CODE&gt;action="login attempt"&lt;/CODE&gt; (that I usually find in _audit index to understand that a user is logged in).&lt;BR /&gt;
Someone has an idea how to have the time session of a Splunk user when there is a SSO authentication?&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
    <pubDate>Fri, 30 Dec 2016 15:07:28 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2016-12-30T15:07:28Z</dc:date>
    <item>
      <title>logged in users</title>
      <link>https://community.splunk.com/t5/Security/logged-in-users/m-p/216723#M6132</link>
      <description>&lt;P&gt;Hi at all,&lt;BR /&gt;
I'd like to identify Splunk currently and/or today's logged users.&lt;BR /&gt;
Using &lt;CODE&gt;| rest /services/authentication/current-context splunk_server=local | rename username AS user | table user realname roles&lt;/CODE&gt; I can identify the logged users; and using &lt;CODE&gt;index=_audit  NOT (user="n/a" OR user="splunk-system-user" OR "scheduler__nobody__search" OR "admin" OR "nobody") NOT "REST" NOT scheduler | join type=left user [| rest /services/authentication/current-context splunk_server=local | rename username AS user | table user realname roles ] | transaction user&lt;/CODE&gt; I can identify today's logged users.&lt;/P&gt;

&lt;P&gt;My problem is to identify when users was logged in because I have Splunk configured in SSO with an external authentication system so I cannot find &lt;CODE&gt;action="login attempt"&lt;/CODE&gt; (that I usually find in _audit index to understand that a user is logged in).&lt;BR /&gt;
Someone has an idea how to have the time session of a Splunk user when there is a SSO authentication?&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 30 Dec 2016 15:07:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/logged-in-users/m-p/216723#M6132</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2016-12-30T15:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: logged in users</title>
      <link>https://community.splunk.com/t5/Security/logged-in-users/m-p/216724#M6133</link>
      <description>&lt;P&gt;Hi cusello,&lt;/P&gt;

&lt;P&gt;a long time ago I wrote this answer &lt;A href="https://answers.splunk.com/answers/107574/track-users-logging-in-via-sso.html"&gt;https://answers.splunk.com/answers/107574/track-users-logging-in-via-sso.html&lt;/A&gt; maybe it helps you as well.&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2017 06:21:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/logged-in-users/m-p/216724#M6133</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2017-01-06T06:21:09Z</dc:date>
    </item>
  </channel>
</rss>

