<?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 find the last change or modification on multiple AD groups? in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-find-the-last-change-or-modification-on-multiple-AD/m-p/568622#M10103</link>
    <description>&lt;P&gt;I have a csv file containing the SAM accounts of 1200 AD groups and I need to find out the proper search query to find the last date of their modification or change.&lt;/P&gt;</description>
    <pubDate>Mon, 27 Sep 2021 20:57:14 GMT</pubDate>
    <dc:creator>vttrl123</dc:creator>
    <dc:date>2021-09-27T20:57:14Z</dc:date>
    <item>
      <title>How to find the last change or modification on multiple AD groups?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-find-the-last-change-or-modification-on-multiple-AD/m-p/568622#M10103</link>
      <description>&lt;P&gt;I have a csv file containing the SAM accounts of 1200 AD groups and I need to find out the proper search query to find the last date of their modification or change.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Sep 2021 20:57:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-find-the-last-change-or-modification-on-multiple-AD/m-p/568622#M10103</guid>
      <dc:creator>vttrl123</dc:creator>
      <dc:date>2021-09-27T20:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the last change or modification on multiple AD groups?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-find-the-last-change-or-modification-on-multiple-AD/m-p/568967#M10142</link>
      <description>&lt;LI-CODE lang="markup"&gt;| inputlookup &amp;lt;lookup or filename&amp;gt;
| stats max(&amp;lt;field that's the date field&amp;gt;)&lt;/LI-CODE&gt;&lt;P&gt;or&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| inputlookup &amp;lt;lookup or filename&amp;gt;
| stats max(&amp;lt;field that's the date field&amp;gt;) BY displayName&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And if you were wanting a more useful way&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;base search here that returns regular data
| lookup &amp;lt;lookupName&amp;gt; &amp;lt;fieldInLookup&amp;gt; AS &amp;lt;fieldInData&amp;gt; OUTPUT lastUpdate&lt;/LI-CODE&gt;&lt;P&gt;Which assuming you fix up the lookup name, double-check the fieldInLookup vs. fieldInData order (I always get those backwards!) and change the fieldname 'lastUpdate' to whatever it is in your lookup, will output the lastUpdate for each ... "field" you match on.&amp;nbsp; Perhaps displayName or something, whatever it is that should match.&lt;/P&gt;&lt;P&gt;This might help:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/8.2.2107/SearchReference/Lookup" target="_blank"&gt;https://docs.splunk.com/Documentation/SplunkCloud/8.2.2107/SearchReference/Lookup&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Sep 2021 15:44:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-find-the-last-change-or-modification-on-multiple-AD/m-p/568967#M10142</guid>
      <dc:creator>Richfez</dc:creator>
      <dc:date>2021-09-29T15:44:12Z</dc:date>
    </item>
  </channel>
</rss>

