<?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: List of Domain Controllers in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-query-a-List-of-Domain-Controllers/m-p/651304#M110618</link>
    <description>&lt;P&gt;what is the spl query to check all logs of DC ?&lt;/P&gt;</description>
    <pubDate>Thu, 20 Jul 2023 13:16:18 GMT</pubDate>
    <dc:creator>mazharuddin</dc:creator>
    <dc:date>2023-07-20T13:16:18Z</dc:date>
    <item>
      <title>How to query a List of Domain Controllers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-query-a-List-of-Domain-Controllers/m-p/503010#M85682</link>
      <description>&lt;P&gt;I'd like to pull a complete listing of all domain controllers in my environment and I'd like to do it through Splunk. Does anyone have some helpful SPL that can query the network for this?&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2022 14:24:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-query-a-List-of-Domain-Controllers/m-p/503010#M85682</guid>
      <dc:creator>itsmevic</dc:creator>
      <dc:date>2022-06-27T14:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: List of Domain Controllers</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-query-a-List-of-Domain-Controllers/m-p/503011#M85683</link>
      <description>&lt;P&gt;SPL cannot query a network.  SPL queries data stored in Splunk indexers.  If you have indexed a list of your servers in Splunk then SPL can be used to query that data to find DCs.&lt;/P&gt;

&lt;P&gt;There are exceptions, of course.  The Splunk for Asset Discovery app (&lt;A href="https://splunkbase.splunk.com/app/662/"&gt;https://splunkbase.splunk.com/app/662/&lt;/A&gt;) uses the nmap utility to scan networks for devices and indexes the results.  The Splunk Supporting Add-on for Active Directory app (&lt;A href="https://splunkbase.splunk.com/app/1151/"&gt;https://splunkbase.splunk.com/app/1151/&lt;/A&gt;) can query Active Directory for information, which might include DCs.&lt;/P&gt;

&lt;P&gt;OTOH, if your DCs are reporting events to Splunk now, you can use this query to get their names.  Modify the "&lt;EM&gt;dc&lt;/EM&gt;" to match the name scheme for your DCs.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| metadata type=hosts | search host="*dc*"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 25 Mar 2020 17:30:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-query-a-List-of-Domain-Controllers/m-p/503011#M85683</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-03-25T17:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: List of Domain Controllers</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-query-a-List-of-Domain-Controllers/m-p/603365#M104976</link>
      <description>&lt;P&gt;On the other hand you can look for eventcodes that a domain controllers generates:&lt;/P&gt;&lt;P&gt;For example&amp;nbsp;&lt;SPAN&gt;4776: The domain controller attempted to validate the credentials for an account&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=*win* source="*WinEventLog:Security" EventCode=4776
| rename ComputerName as DomainControllerName
| table _time DomainControllerName user&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;This will give you a list of your domain controllers....as long as you have windows clients sending their eventlogs to Splunk ofcourse.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2022 11:20:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-query-a-List-of-Domain-Controllers/m-p/603365#M104976</guid>
      <dc:creator>Azeemering</dc:creator>
      <dc:date>2022-06-27T11:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: List of Domain Controllers</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-query-a-List-of-Domain-Controllers/m-p/651304#M110618</link>
      <description>&lt;P&gt;what is the spl query to check all logs of DC ?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2023 13:16:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-query-a-List-of-Domain-Controllers/m-p/651304#M110618</guid>
      <dc:creator>mazharuddin</dc:creator>
      <dc:date>2023-07-20T13:16:18Z</dc:date>
    </item>
  </channel>
</rss>

