<?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: How to create and trigger an alert when specific Active Directory users from a CSV file get locked out? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-and-trigger-an-alert-when-specific-Active/m-p/258423#M77420</link>
    <description>&lt;P&gt;Create a lookup table for the csv file you have. The csv file should have a column name same as the field in event log with user id. I assume it is Account_Name.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0.3/Knowledge/Addfieldsfromexternaldatasources"&gt;http://docs.splunk.com/Documentation/Splunk/6.0.3/Knowledge/Addfieldsfromexternaldatasources&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Then a query like this should give you the alert&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=windowslogs EventId=4740 [|inputlookup userlist.csv | table Account_Name] 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Setup an alert if count&amp;gt;0&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.1/Alert/Aboutalerts"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.1/Alert/Aboutalerts&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Jul 2016 22:04:16 GMT</pubDate>
    <dc:creator>sundareshr</dc:creator>
    <dc:date>2016-07-12T22:04:16Z</dc:date>
    <item>
      <title>How to create and trigger an alert when specific Active Directory users from a CSV file get locked out?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-and-trigger-an-alert-when-specific-Active/m-p/258421#M77418</link>
      <description>&lt;P&gt;I have one CSV file containing important user names. I want to create an alert/correlation rule whenever the user from that specific list get locked out.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 19:50:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-and-trigger-an-alert-when-specific-Active/m-p/258421#M77418</guid>
      <dc:creator>rashid47010</dc:creator>
      <dc:date>2016-07-12T19:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to create and trigger an alert when specific Active Directory users from a CSV file get locked out?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-and-trigger-an-alert-when-specific-Active/m-p/258422#M77419</link>
      <description>&lt;P&gt;To achieve that you should create a lookup. A lookup will compare a field from a file and add some data to your current data indexed in splunk. Your csv should have at least the username field and another field, for exemple vip=yes. With that you will compare logs from AD and lookup them and find if a user is vip or not.&lt;BR /&gt;
You can find more information on: &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0.3/Knowledge/Addfieldsfromexternaldatasources"&gt;http://docs.splunk.com/Documentation/Splunk/6.0.3/Knowledge/Addfieldsfromexternaldatasources&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 20:25:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-and-trigger-an-alert-when-specific-Active/m-p/258422#M77419</guid>
      <dc:creator>gfreitas</dc:creator>
      <dc:date>2016-07-12T20:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to create and trigger an alert when specific Active Directory users from a CSV file get locked out?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-and-trigger-an-alert-when-specific-Active/m-p/258423#M77420</link>
      <description>&lt;P&gt;Create a lookup table for the csv file you have. The csv file should have a column name same as the field in event log with user id. I assume it is Account_Name.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0.3/Knowledge/Addfieldsfromexternaldatasources"&gt;http://docs.splunk.com/Documentation/Splunk/6.0.3/Knowledge/Addfieldsfromexternaldatasources&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Then a query like this should give you the alert&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=windowslogs EventId=4740 [|inputlookup userlist.csv | table Account_Name] 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Setup an alert if count&amp;gt;0&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.1/Alert/Aboutalerts"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.1/Alert/Aboutalerts&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2016 22:04:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-and-trigger-an-alert-when-specific-Active/m-p/258423#M77420</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-07-12T22:04:16Z</dc:date>
    </item>
  </channel>
</rss>

