<?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: Get a the list of logged in users from Windows AD and alert when there is a new one. in Alerting</title>
    <link>https://community.dynatrace.com/t5/Alerting/Get-a-the-list-of-logged-in-users-from-Windows-AD-and-alert-when/m-p/268530#M5424</link>
    <description>&lt;P&gt;Instead of needing to make a dataset of current users, we can use DQL to check the number of Unique users at this point, create a metric of it using log enrichment and metric extraction.&lt;BR /&gt;Then whenever there's an increase on that number, we can create a metric event. That way we'd know someone new have logged in.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Jan 2025 06:23:04 GMT</pubDate>
    <dc:creator>Maheedhar_T</dc:creator>
    <dc:date>2025-01-28T06:23:04Z</dc:date>
    <item>
      <title>Get a the list of logged in users from Windows AD and alert when there is a new one.</title>
      <link>https://community.dynatrace.com/t5/Alerting/Get-a-the-list-of-logged-in-users-from-Windows-AD-and-alert-when/m-p/268357#M5420</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I need to know what ways exist to be able to get the list of logged in users on Windows host to create an alert when a new user log in the host.&lt;/P&gt;&lt;P&gt;I know, you can get a list of users in Windows using PowerShell, but no matter how much I look, I don't know if you can have a PowerShell extension to be able to inject the results into Dynatrace or is there another way to do it, for example using Windows logs.&lt;/P&gt;&lt;P&gt;Regards Bryan&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2025 16:12:16 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Get-a-the-list-of-logged-in-users-from-Windows-AD-and-alert-when/m-p/268357#M5420</guid>
      <dc:creator>bryan_araya</dc:creator>
      <dc:date>2025-01-24T16:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: Get a the list of logged in users from Windows AD and alert when there is a new one.</title>
      <link>https://community.dynatrace.com/t5/Alerting/Get-a-the-list-of-logged-in-users-from-Windows-AD-and-alert-when/m-p/268414#M5421</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/38300"&gt;@bryan_araya&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;I'm suggesting this solution from whatever limited knowledge I have, you can ingest the log file&amp;nbsp;&lt;STRONG&gt;C:\Windows\System32\winevt\Logs\Security.evtx&amp;nbsp;&lt;/STRONG&gt;to Dynatrace. Then using DQL you can filter out the standard users and say when a user apart from these set of users log-in create an alert.&lt;BR /&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2025 05:33:42 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Get-a-the-list-of-logged-in-users-from-Windows-AD-and-alert-when/m-p/268414#M5421</guid>
      <dc:creator>Maheedhar_T</dc:creator>
      <dc:date>2025-01-27T05:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: Get a the list of logged in users from Windows AD and alert when there is a new one.</title>
      <link>https://community.dynatrace.com/t5/Alerting/Get-a-the-list-of-logged-in-users-from-Windows-AD-and-alert-when/m-p/268507#M5422</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Actually what I need is something more complex but I wanted to start with something simple.&lt;/P&gt;&lt;P&gt;I know that you can do something similar with the Windows logs but what i need is the list of users of a host to compare it with the new users to see if any are new or have been modified users. This open an alert in Dynatrace if there is a change to the original list of users.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2025 21:07:04 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Get-a-the-list-of-logged-in-users-from-Windows-AD-and-alert-when/m-p/268507#M5422</guid>
      <dc:creator>bryan_araya</dc:creator>
      <dc:date>2025-01-27T21:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: Get a the list of logged in users from Windows AD and alert when there is a new one.</title>
      <link>https://community.dynatrace.com/t5/Alerting/Get-a-the-list-of-logged-in-users-from-Windows-AD-and-alert-when/m-p/268522#M5423</link>
      <description>&lt;P&gt;This can be done as a 2-step process.&lt;BR /&gt;1. Ingest the logs -&amp;nbsp;&lt;A href="https://community.dynatrace.com/t5/Log-Analytics/Custom-Log-Source-Windows-Event-Log/td-p/208782" target="_blank" rel="noopener"&gt;Solved: Custom Log Source - Windows Event Log - Dynatrace Community&lt;/A&gt;&lt;BR /&gt;2. Compare it with approved set of users list.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;- If logs are on Grail, you can ingest the list as a log entry and then compare it using DQL. OR dynamically you can create the user dataset using this&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/shortlink/data-source-commands#data" target="_blank" rel="noopener"&gt;https://docs.dynatrace.com/docs/shortlink/data-source-commands#data&lt;/A&gt;&amp;nbsp;and then compare it.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;- If you don't have Grail yet or work in Dynatrace managed, you can use log processing rule's function FIELDS_ADD to compare, a sample below. You can use multiple such lines, but this is difficult to scale for a big list of users.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;USING(INOUT username:STRING, content)&lt;/P&gt;&lt;P&gt;| FIELDS_ADD(UnknownUser: IF(username != 'XYZ',"NOT FOUND''))&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2025 00:59:13 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Get-a-the-list-of-logged-in-users-from-Windows-AD-and-alert-when/m-p/268522#M5423</guid>
      <dc:creator>RohitBisht</dc:creator>
      <dc:date>2025-01-28T00:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: Get a the list of logged in users from Windows AD and alert when there is a new one.</title>
      <link>https://community.dynatrace.com/t5/Alerting/Get-a-the-list-of-logged-in-users-from-Windows-AD-and-alert-when/m-p/268530#M5424</link>
      <description>&lt;P&gt;Instead of needing to make a dataset of current users, we can use DQL to check the number of Unique users at this point, create a metric of it using log enrichment and metric extraction.&lt;BR /&gt;Then whenever there's an increase on that number, we can create a metric event. That way we'd know someone new have logged in.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2025 06:23:04 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Get-a-the-list-of-logged-in-users-from-Windows-AD-and-alert-when/m-p/268530#M5424</guid>
      <dc:creator>Maheedhar_T</dc:creator>
      <dc:date>2025-01-28T06:23:04Z</dc:date>
    </item>
  </channel>
</rss>

