<?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 find how many users are logged into Splunk and history of all their activities performed in Splunk Web? in Security</title>
    <link>https://community.splunk.com/t5/Security/How-to-find-how-many-users-are-logged-into-Splunk-and-history-of/m-p/125110#M3810</link>
    <description>&lt;P&gt;sorry about that. I originally had a non capturing group where the value of 'app' was. I made it a capturing group and now the field 'app' is extracted. the error was because app did not exist.   I didn't see your comment...two years ago. apologies.&lt;/P&gt;</description>
    <pubDate>Sun, 30 Jul 2017 21:51:04 GMT</pubDate>
    <dc:creator>rsennett_splunk</dc:creator>
    <dc:date>2017-07-30T21:51:04Z</dc:date>
    <item>
      <title>How to find how many users are logged into Splunk and history of all their activities performed in Splunk Web?</title>
      <link>https://community.splunk.com/t5/Security/How-to-find-how-many-users-are-logged-into-Splunk-and-history-of/m-p/125106#M3806</link>
      <description>&lt;P&gt;Can you please tell us how to find how many users are logged into Splunk and what are all the activities they performed (user activity history like dashboards created, executed searches, created alerts...etc) over the period in Splunk Web UI. Also please tell us, how to find number of logged in users in Splunk Web UI.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2015 21:30:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-find-how-many-users-are-logged-into-Splunk-and-history-of/m-p/125106#M3806</guid>
      <dc:creator>dhavamanis</dc:creator>
      <dc:date>2015-04-01T21:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to find how many users are logged into Splunk and history of all their activities performed in Splunk Web?</title>
      <link>https://community.splunk.com/t5/Security/How-to-find-how-many-users-are-logged-into-Splunk-and-history-of/m-p/125107#M3807</link>
      <description>&lt;P&gt;The Distributed Management Console has some interesting stats on the search activity, but you can turn to the _internal index and use the REST API to gather other info. For instance:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /services/authentication/httpauth-tokens | search (NOT userName="splunk-system-user") searchId="" | table userName splunk_server timeAccessed
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This will show you userid's that were authorized during a login process rather than a search (hence the blank searchId) running under a user id. &lt;/P&gt;

&lt;P&gt;Here is the rest of REST: &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.2/RESTREF/RESTprolog"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.2/RESTREF/RESTprolog&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;As for looking at what people are doing, you can utilize Splunk's own web access logs:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal source=*web_access.log* /app/   | rex "GET\s\/[^\/]+\/app\/(?P&amp;lt;app&amp;gt;[^\/]+)\/(?P&amp;lt;view&amp;gt;[^\s|?]+) "  | search app=* view=*| stats count by user app view
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;There are also a few Apps on splunkbase.splunk.com that might be helpful things to look at and steal from to create your ultimate "Big Brother" app...&lt;BR /&gt;
X-Ray Splunk Knowledge Objects comes to mind.&lt;BR /&gt;
&lt;A href="https://splunkbase.splunk.com/app/1259/"&gt;https://splunkbase.splunk.com/app/1259/&lt;/A&gt;&lt;BR /&gt;
That's more about who is using what (what eventtypes, macros, savedsearches) to build out their use cases, than what specific activity is happening... but it's a good way to know what to look for in the logs.&lt;/P&gt;

&lt;P&gt;Also, if you note the related questions over on the right hand sidebar, you'll probably find other approaches as well.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2015 00:01:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-find-how-many-users-are-logged-into-Splunk-and-history-of/m-p/125107#M3807</guid>
      <dc:creator>rsennett_splunk</dc:creator>
      <dc:date>2015-04-02T00:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to find how many users are logged into Splunk and history of all their activities performed in Splunk Web?</title>
      <link>https://community.splunk.com/t5/Security/How-to-find-how-many-users-are-logged-into-Splunk-and-history-of/m-p/125108#M3808</link>
      <description>&lt;P&gt;Thanks, seems provided query giving error for me, can you please provide the working query.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2015 03:15:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-find-how-many-users-are-logged-into-Splunk-and-history-of/m-p/125108#M3808</guid>
      <dc:creator>dhavamanis</dc:creator>
      <dc:date>2015-04-02T03:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to find how many users are logged into Splunk and history of all their activities performed in Splunk Web?</title>
      <link>https://community.splunk.com/t5/Security/How-to-find-how-many-users-are-logged-into-Splunk-and-history-of/m-p/125109#M3809</link>
      <description>&lt;P&gt;Just to provide a working example:&lt;BR /&gt;
    index=_internal source=&lt;EM&gt;web_access.log&lt;/EM&gt; /app/ | rex   field=_raw "8000\/[^\/]+\/app\/(?P&lt;APP_NAME&gt;[^\/]+)\/(?P&lt;VIEW&gt;[^\s|?]+)" | search app_name=* view=*| stats count by user app_name view&lt;BR /&gt;
Works for me.&lt;/VIEW&gt;&lt;/APP_NAME&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 20:20:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-find-how-many-users-are-logged-into-Splunk-and-history-of/m-p/125109#M3809</guid>
      <dc:creator>mlorch</dc:creator>
      <dc:date>2020-09-28T20:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to find how many users are logged into Splunk and history of all their activities performed in Splunk Web?</title>
      <link>https://community.splunk.com/t5/Security/How-to-find-how-many-users-are-logged-into-Splunk-and-history-of/m-p/125110#M3810</link>
      <description>&lt;P&gt;sorry about that. I originally had a non capturing group where the value of 'app' was. I made it a capturing group and now the field 'app' is extracted. the error was because app did not exist.   I didn't see your comment...two years ago. apologies.&lt;/P&gt;</description>
      <pubDate>Sun, 30 Jul 2017 21:51:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-find-how-many-users-are-logged-into-Splunk-and-history-of/m-p/125110#M3810</guid>
      <dc:creator>rsennett_splunk</dc:creator>
      <dc:date>2017-07-30T21:51:04Z</dc:date>
    </item>
  </channel>
</rss>

