<?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 can I use iplocation to include the IP in my alert search results for account lockouts? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-use-iplocation-to-include-the-IP-in-my-alert-search/m-p/203771#M59187</link>
    <description>&lt;P&gt;You would have to use some DNSlookup type of things to get IP address from host name. And you can use  clientip, src_ip, dns_ip, server_ip..Etc according to your Splunk naming conversion you have to use the search strings. See the props.conf file for host and ip &lt;/P&gt;

&lt;P&gt;Try to use this query,&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_audit action="login attempt" info="succeeded"| head 20 | iplocation clientip | table clientip, user, _time
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 29 Sep 2020 10:27:47 GMT</pubDate>
    <dc:creator>hliakathali_spl</dc:creator>
    <dc:date>2020-09-29T10:27:47Z</dc:date>
    <item>
      <title>How can I use iplocation to include the IP in my alert search results for account lockouts?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-use-iplocation-to-include-the-IP-in-my-alert-search/m-p/203770#M59186</link>
      <description>&lt;P&gt;I have a search to alert on account lockouts:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=winsec EventCodeDescription="A user account was locked out"|dedup user| stats count as total by _time host user 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I need to get the "IP" as well when the account is locked out. Could you please help me on getting the IP address of the system along with this event alert search?&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Gayathiri K&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2016 08:16:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-use-iplocation-to-include-the-IP-in-my-alert-search/m-p/203770#M59186</guid>
      <dc:creator>Gayathirik</dc:creator>
      <dc:date>2016-08-03T08:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: How can I use iplocation to include the IP in my alert search results for account lockouts?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-use-iplocation-to-include-the-IP-in-my-alert-search/m-p/203771#M59187</link>
      <description>&lt;P&gt;You would have to use some DNSlookup type of things to get IP address from host name. And you can use  clientip, src_ip, dns_ip, server_ip..Etc according to your Splunk naming conversion you have to use the search strings. See the props.conf file for host and ip &lt;/P&gt;

&lt;P&gt;Try to use this query,&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_audit action="login attempt" info="succeeded"| head 20 | iplocation clientip | table clientip, user, _time
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:27:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-use-iplocation-to-include-the-IP-in-my-alert-search/m-p/203771#M59187</guid>
      <dc:creator>hliakathali_spl</dc:creator>
      <dc:date>2020-09-29T10:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: How can I use iplocation to include the IP in my alert search results for account lockouts?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-use-iplocation-to-include-the-IP-in-my-alert-search/m-p/203772#M59188</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=winsec EventCodeDescription="A user account was locked out"| stats count as total by _time host user Source_Network_Address
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 03 Aug 2016 19:48:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-use-iplocation-to-include-the-IP-in-my-alert-search/m-p/203772#M59188</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-08-03T19:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: How can I use iplocation to include the IP in my alert search results for account lockouts?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-use-iplocation-to-include-the-IP-in-my-alert-search/m-p/203773#M59189</link>
      <description>&lt;P&gt;This is not working..Could you please tell me some other possible way to find it out?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2016 08:49:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-use-iplocation-to-include-the-IP-in-my-alert-search/m-p/203773#M59189</guid>
      <dc:creator>Gayathirik</dc:creator>
      <dc:date>2016-08-04T08:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: How can I use iplocation to include the IP in my alert search results for account lockouts?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-use-iplocation-to-include-the-IP-in-my-alert-search/m-p/203774#M59190</link>
      <description>&lt;P&gt;Excellent Harish!!! This really works!!!!&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2016 13:36:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-use-iplocation-to-include-the-IP-in-my-alert-search/m-p/203774#M59190</guid>
      <dc:creator>Gayathirik</dc:creator>
      <dc:date>2016-08-04T13:36:04Z</dc:date>
    </item>
  </channel>
</rss>

