<?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 How to search and monitor Splunk user logins that are using LDAP based authentication? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-and-monitor-Splunk-user-logins-that-are-using-LDAP/m-p/193261#M55609</link>
    <description>&lt;P&gt;I have been going through several answers about how to get and track user logons and logoffs. Tried many of the searches, but not getting an expected result. All the users get in to splunk via LDAP based authentication. The search below is supposed to give me the expected results, but I have logged in several times today and my user ID itself is not listed out.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal sourcetype=splunk_web_service user="*" action=login OR action=logoff user != admin | table user
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Any ideas?&lt;/P&gt;</description>
    <pubDate>Wed, 14 Jan 2015 14:26:38 GMT</pubDate>
    <dc:creator>anoopambli</dc:creator>
    <dc:date>2015-01-14T14:26:38Z</dc:date>
    <item>
      <title>How to search and monitor Splunk user logins that are using LDAP based authentication?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-and-monitor-Splunk-user-logins-that-are-using-LDAP/m-p/193261#M55609</link>
      <description>&lt;P&gt;I have been going through several answers about how to get and track user logons and logoffs. Tried many of the searches, but not getting an expected result. All the users get in to splunk via LDAP based authentication. The search below is supposed to give me the expected results, but I have logged in several times today and my user ID itself is not listed out.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal sourcetype=splunk_web_service user="*" action=login OR action=logoff user != admin | table user
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Any ideas?&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jan 2015 14:26:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-and-monitor-Splunk-user-logins-that-are-using-LDAP/m-p/193261#M55609</guid>
      <dc:creator>anoopambli</dc:creator>
      <dc:date>2015-01-14T14:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to search and monitor Splunk user logins that are using LDAP based authentication?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-and-monitor-Splunk-user-logins-that-are-using-LDAP/m-p/193262#M55610</link>
      <description>&lt;P&gt;Hi anoopambli,&lt;/P&gt;

&lt;P&gt;since you are using LDAP based users for authentication, user logins are not handled by Splunk and therefore you will not find any of the LDAP user logins in the &lt;CODE&gt;index=_internal&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;But you can use the REST end point /services/authentication/httpauth-tokens on your search head like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /services/authentication/httpauth-tokens splunk_server=local | table timeAccessed userName  
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and you will get a list of users which were or still are connect over LDAP.&lt;/P&gt;

&lt;P&gt;Setting this up as saved search with summary indexing will give you the ability to gather historical events as well.&lt;/P&gt;

&lt;P&gt;hope this helps...&lt;/P&gt;

&lt;P&gt;cheers,&lt;BR /&gt;
MuS&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jan 2015 14:34:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-and-monitor-Splunk-user-logins-that-are-using-LDAP/m-p/193262#M55610</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2015-01-14T14:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to search and monitor Splunk user logins that are using LDAP based authentication?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-and-monitor-Splunk-user-logins-that-are-using-LDAP/m-p/193263#M55611</link>
      <description>&lt;P&gt;Wow, thats awesome. Thank you very much.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jan 2015 16:25:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-and-monitor-Splunk-user-logins-that-are-using-LDAP/m-p/193263#M55611</guid>
      <dc:creator>anoopambli</dc:creator>
      <dc:date>2015-01-14T16:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to search and monitor Splunk user logins that are using LDAP based authentication?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-and-monitor-Splunk-user-logins-that-are-using-LDAP/m-p/193264#M55612</link>
      <description>&lt;P&gt;How would this work in a scenario where you are trying to monitor splunk users who are logging on/off using SSH? How can that be done?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2016 14:04:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-and-monitor-Splunk-user-logins-that-are-using-LDAP/m-p/193264#M55612</guid>
      <dc:creator>naqviah</dc:creator>
      <dc:date>2016-12-08T14:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to search and monitor Splunk user logins that are using LDAP based authentication?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-and-monitor-Splunk-user-logins-that-are-using-LDAP/m-p/193265#M55613</link>
      <description>&lt;P&gt;Hi @naqviah, if you want to monitor user logins by SSH you can for example use the Splunk Add-on for nix &lt;A href="https://splunkbase.splunk.com/app/833/"&gt;https://splunkbase.splunk.com/app/833/&lt;/A&gt; Follow the docs to install it and configure it to monitor the logs that will show you the SSH login of a user.&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Sat, 10 Dec 2016 03:04:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-and-monitor-Splunk-user-logins-that-are-using-LDAP/m-p/193265#M55613</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2016-12-10T03:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to search and monitor Splunk user logins that are using LDAP based authentication?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-and-monitor-Splunk-user-logins-that-are-using-LDAP/m-p/603033#M209867</link>
      <description>&lt;P&gt;Hi MuS,&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/2012"&gt;@MuS&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have requirement to monitor all the users connecting through ldap on Splunk servers.&lt;/P&gt;&lt;P&gt;i tried using query, its not working when iam changing the splunk_server=SERVER NAME&lt;/P&gt;&lt;PRE&gt;| rest /services/authentication/httpauth-tokens splunk_server=local | table timeAccessed userName&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2022 15:14:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-and-monitor-Splunk-user-logins-that-are-using-LDAP/m-p/603033#M209867</guid>
      <dc:creator>satya_mehra</dc:creator>
      <dc:date>2022-06-23T15:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to search and monitor Splunk user logins that are using LDAP based authentication?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-and-monitor-Splunk-user-logins-that-are-using-LDAP/m-p/603059#M209874</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;well using `splunk_server=foo` will only work if `foo` is a search peer of the Splunk instance you're running the query on. The best option, from my point of view, is to run this query on the Splunk instance that is configured to run the monitoring console because that instance usually has all Splunk instances configured as search peers.&lt;/P&gt;&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2022 18:44:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-and-monitor-Splunk-user-logins-that-are-using-LDAP/m-p/603059#M209874</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2022-06-23T18:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to search and monitor Splunk user logins that are using LDAP based authentication?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-and-monitor-Splunk-user-logins-that-are-using-LDAP/m-p/610371#M212252</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/2012"&gt;@MuS&lt;/a&gt;&amp;nbsp;-- If we are accessing a SH cluster via a LB and we issue the rest command using&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;splunk_server=local&lt;/PRE&gt;&lt;P&gt;it will get the list from the connected SH only.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Is there any way to get logged in users from all nodes of a SH cluster? In my setup i have 3 node SH cluster and the LB process requests based on&amp;nbsp;least connections.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 17:36:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-and-monitor-Splunk-user-logins-that-are-using-LDAP/m-p/610371#M212252</guid>
      <dc:creator>Jasjit_Singh</dc:creator>
      <dc:date>2022-08-22T17:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to search and monitor Splunk user logins that are using LDAP based authentication?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-and-monitor-Splunk-user-logins-that-are-using-LDAP/m-p/610397#M212259</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;Please see my reply from&amp;nbsp;&lt;SPAN&gt;24-06-2022 it will explain how this can be done.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;cheers, MuS&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 22:18:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-and-monitor-Splunk-user-logins-that-are-using-LDAP/m-p/610397#M212259</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2022-08-22T22:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to search and monitor Splunk user logins that are using LDAP based authentication?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-and-monitor-Splunk-user-logins-that-are-using-LDAP/m-p/610424#M212277</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/2012"&gt;@MuS&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That works.&amp;nbsp;&lt;BR /&gt;But I have another related questions. The result set of userName i get has some users which are no longer with the organization. So just clarifying if this rest call suggested above by anyways is related to saved searches too?&lt;/P&gt;&lt;P&gt;Because we do have saved searches owned by users who have left the organization.&amp;nbsp;&lt;/P&gt;&lt;P&gt;As of now, i don't think the report generated has correct data of currently logged in users.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2022 03:19:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-and-monitor-Splunk-user-logins-that-are-using-LDAP/m-p/610424#M212277</guid>
      <dc:creator>Jasjit_Singh</dc:creator>
      <dc:date>2022-08-23T03:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to search and monitor Splunk user logins that are using LDAP based authentication?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-and-monitor-Splunk-user-logins-that-are-using-LDAP/m-p/633026#M219896</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am looking for similar info (users connected now or recently through LDAP). When I run this command first thing in the morning (when no one is on) or during the day, it lists 24 users. What is the token info being presented? Is it just that they have an active token in their web browser?&lt;BR /&gt;&lt;BR /&gt;"&lt;SPAN&gt;you will get a list of users which were or still are connect over LDAP"&lt;BR /&gt;&lt;BR /&gt;Can you define "which were"? How far back does it go in showing users that were on?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 15:19:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-and-monitor-Splunk-user-logins-that-are-using-LDAP/m-p/633026#M219896</guid>
      <dc:creator>miguel44444</dc:creator>
      <dc:date>2023-03-02T15:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to search and monitor Splunk user logins that are using LDAP based authentication?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-and-monitor-Splunk-user-logins-that-are-using-LDAP/m-p/706979#M239173</link>
      <description>&lt;P&gt;Hi... this is aging well but I could really use some help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When you mention summary Indexing to get historical events, what did you mean?&amp;nbsp;&lt;/P&gt;&lt;P&gt;TIA,&lt;/P&gt;&lt;P&gt;-V&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2024 01:18:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-and-monitor-Splunk-user-logins-that-are-using-LDAP/m-p/706979#M239173</guid>
      <dc:creator>viscarra</dc:creator>
      <dc:date>2024-12-17T01:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to search and monitor Splunk user logins that are using LDAP based authentication?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-and-monitor-Splunk-user-logins-that-are-using-LDAP/m-p/707073#M239202</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;Have a read here&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/9.3.2408/Knowledge/Usesummaryindexing#Get_started_with_summary_indexing" target="_blank"&gt;https://docs.splunk.com/Documentation/SplunkCloud/9.3.2408/Knowledge/Usesummaryindexing#Get_started_with_summary_indexing&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2024 20:13:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-and-monitor-Splunk-user-logins-that-are-using-LDAP/m-p/707073#M239202</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2024-12-17T20:13:24Z</dc:date>
    </item>
  </channel>
</rss>

