<?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 Collecting Logs Windows Servers and Windows Domain Controllers in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Collecting-Logs-Windows-Servers-and-Windows-Domain-Controllers/m-p/655089#M111010</link>
    <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I need your help in analyzing my collected log data.&lt;/P&gt;&lt;P&gt;I have all of our Windows servers connected in Splunk using the Universal Forwarder. This includes the domain controllers as well. Only the security event log is transmitted. I have installed the Splunk Add-on for Microsoft Windows on the Splunk servers (Indexer, Searchead,).&lt;/P&gt;&lt;P&gt;I want to know about failed login attempts, account lockouts, as well as tampering with Local Administrator accounts.&lt;/P&gt;&lt;P&gt;If I now start a search query for example on Event ID 4625, I get thousandfold messages with field "host" where my domain controllers are inside. At "host" I want to see the really affected system.&lt;BR /&gt;For example my Splunk query looks like this:&lt;/P&gt;&lt;P&gt;index=Wineventlog sourcetype=wineventlog source::WinEventLog:Security (EventCode=4625 OR EventCode=4740)&lt;BR /&gt;| eval Benutzerkonto = coalesce(Kontoname, Account_Name)&lt;BR /&gt;| eval Meldung = coalesce(Fehlerursache, Failure_Reason)&lt;BR /&gt;| eval IP-Quelladresse = coalesce(Source_network_address, Quellnetzwerkadresse)&lt;BR /&gt;| table _time, ComputerName, Benutzerkonto, Meldung, IP-Quelladresse&lt;/P&gt;&lt;P&gt;(I merge german and english logentries).&lt;/P&gt;&lt;P&gt;I only want to know when someone tries to log in to the domain controller, locks his account there or hijacks the local admin on the domain controller. I do not want to see log entries of affected systems via the domain controllers.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Do you have a solution to the problem or even suggestions for improvement?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Codyy_Fast&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 21 Aug 2023 21:42:46 GMT</pubDate>
    <dc:creator>Codyy_Fast</dc:creator>
    <dc:date>2023-08-21T21:42:46Z</dc:date>
    <item>
      <title>Collecting Logs Windows Servers and Windows Domain Controllers</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Collecting-Logs-Windows-Servers-and-Windows-Domain-Controllers/m-p/655089#M111010</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I need your help in analyzing my collected log data.&lt;/P&gt;&lt;P&gt;I have all of our Windows servers connected in Splunk using the Universal Forwarder. This includes the domain controllers as well. Only the security event log is transmitted. I have installed the Splunk Add-on for Microsoft Windows on the Splunk servers (Indexer, Searchead,).&lt;/P&gt;&lt;P&gt;I want to know about failed login attempts, account lockouts, as well as tampering with Local Administrator accounts.&lt;/P&gt;&lt;P&gt;If I now start a search query for example on Event ID 4625, I get thousandfold messages with field "host" where my domain controllers are inside. At "host" I want to see the really affected system.&lt;BR /&gt;For example my Splunk query looks like this:&lt;/P&gt;&lt;P&gt;index=Wineventlog sourcetype=wineventlog source::WinEventLog:Security (EventCode=4625 OR EventCode=4740)&lt;BR /&gt;| eval Benutzerkonto = coalesce(Kontoname, Account_Name)&lt;BR /&gt;| eval Meldung = coalesce(Fehlerursache, Failure_Reason)&lt;BR /&gt;| eval IP-Quelladresse = coalesce(Source_network_address, Quellnetzwerkadresse)&lt;BR /&gt;| table _time, ComputerName, Benutzerkonto, Meldung, IP-Quelladresse&lt;/P&gt;&lt;P&gt;(I merge german and english logentries).&lt;/P&gt;&lt;P&gt;I only want to know when someone tries to log in to the domain controller, locks his account there or hijacks the local admin on the domain controller. I do not want to see log entries of affected systems via the domain controllers.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Do you have a solution to the problem or even suggestions for improvement?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Codyy_Fast&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Aug 2023 21:42:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Collecting-Logs-Windows-Servers-and-Windows-Domain-Controllers/m-p/655089#M111010</guid>
      <dc:creator>Codyy_Fast</dc:creator>
      <dc:date>2023-08-21T21:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: Collecting Logs Windows Servers and Windows Domain Controllers</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Collecting-Logs-Windows-Servers-and-Windows-Domain-Controllers/m-p/655115#M111014</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/249382"&gt;@Codyy_Fast&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;using the table command you have all the (e.g.) 4625 events, you can also group them using the stats command:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=Wineventlog sourcetype=wineventlog source::WinEventLog:Security (EventCode=4625 OR EventCode=4740)
| eval Benutzerkonto = coalesce(Kontoname, Account_Name)
| eval Meldung = coalesce(Fehlerursache, Failure_Reason)
| eval IP-Quelladresse = coalesce(Source_network_address, Quellnetzwerkadresse)
| stats 
   count 
   earliest(_time) AS earliest
   latest(_time) AS latest
   values(Benutzerkonto) AS Benutzerkonto
   values(Meldung) AS Meldung
   values(IP-Quelladresse) AS IP-Quelladresse
   BY ComputerName&lt;/LI-CODE&gt;&lt;P&gt;but it depends on what are the requisites of yoru search, in other words: what do you want to find?&lt;/P&gt;&lt;P&gt;In addition, if possible don't use "-" or spaces in your field names, use "_" because Splunk translate it as the subtraction operator.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2023 06:55:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Collecting-Logs-Windows-Servers-and-Windows-Domain-Controllers/m-p/655115#M111014</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-08-22T06:55:59Z</dc:date>
    </item>
  </channel>
</rss>

