<?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 retrieve unique IP address from access log through splunk ? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-retrieve-unique-IP-address-from-access-log-through-splunk/m-p/155108#M43638</link>
    <description>&lt;P&gt;thnx.. It worked&lt;/P&gt;</description>
    <pubDate>Thu, 08 May 2014 17:08:16 GMT</pubDate>
    <dc:creator>veeru_irf</dc:creator>
    <dc:date>2014-05-08T17:08:16Z</dc:date>
    <item>
      <title>How to retrieve unique IP address from access log through splunk ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-retrieve-unique-IP-address-from-access-log-through-splunk/m-p/155104#M43634</link>
      <description>&lt;P&gt;HI &lt;BR /&gt;
I am trying to extract Unique IP address from access log to determine the user load.&lt;/P&gt;

&lt;P&gt;My request looks like as below&lt;BR /&gt;
 - - [01/May/2014:08:59:49 -0700] POST /connect/group/home/support-query1?p_p_id=myexample_WAR_dsp&amp;amp;p_p_lifecycle=2&amp;amp;p_p_state=normal&amp;amp;p_p_mode=view&amp;amp;p_p_cacheability=cacheLevelPage&amp;amp;p_p_col_id=column-1&amp;amp;p_p_col_count=1&amp;amp;action=dispatch HTTP/1.0 200 126 05507 5164&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:33:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-retrieve-unique-IP-address-from-access-log-through-splunk/m-p/155104#M43634</guid>
      <dc:creator>veeru_irf</dc:creator>
      <dc:date>2020-09-28T16:33:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to retrieve unique IP address from access log through splunk ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-retrieve-unique-IP-address-from-access-log-through-splunk/m-p/155105#M43635</link>
      <description>&lt;P&gt;There is no IP in this log? Does your web server log the IP's for requests at all?&lt;/P&gt;</description>
      <pubDate>Wed, 07 May 2014 05:31:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-retrieve-unique-IP-address-from-access-log-through-splunk/m-p/155105#M43635</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-05-07T05:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to retrieve unique IP address from access log through splunk ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-retrieve-unique-IP-address-from-access-log-through-splunk/m-p/155106#M43636</link>
      <description>&lt;P&gt;Sorry missed out initial part&lt;BR /&gt;
205.140.227.154 - - [01/May/2014:08:59:49 -0700] POST /connect/group/home/support-query1?p_p_id=myexample_WAR_dsp&amp;amp;p_p_lifecycle=2&amp;amp;p_p_state=normal&amp;amp;p_p_mode=view&amp;amp;p_p_cacheability=cacheLevelPage&amp;amp;p_p_col_id=column-1&amp;amp;p_p_col_count=1&amp;amp;action=dispatch HTTP/1.0 200 126 05507 5164&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:33:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-retrieve-unique-IP-address-from-access-log-through-splunk/m-p/155106#M43636</guid>
      <dc:creator>veeru_irf</dc:creator>
      <dc:date>2020-09-28T16:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to retrieve unique IP address from access log through splunk ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-retrieve-unique-IP-address-from-access-log-through-splunk/m-p/155107#M43637</link>
      <description>&lt;P&gt;Hi veeru_irf,&lt;/P&gt;

&lt;P&gt;try something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your base search here | rex "^(?&amp;lt;myIP&amp;gt;(\d+\.){3}(\d+))" | table myIP
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If this matches, you can set it up as automatic &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1/Knowledge/Addfieldsatsearchtime"&gt;field extraction&lt;/A&gt; so it will be extracted by Splunk directly.&lt;BR /&gt;
Also here is a nice little &lt;A href="http://regexr.com/v1/"&gt;page&lt;/A&gt; where you can test regex stuff &lt;/P&gt;

&lt;P&gt;hope this helps to get you started ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Wed, 07 May 2014 05:56:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-retrieve-unique-IP-address-from-access-log-through-splunk/m-p/155107#M43637</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-05-07T05:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to retrieve unique IP address from access log through splunk ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-retrieve-unique-IP-address-from-access-log-through-splunk/m-p/155108#M43638</link>
      <description>&lt;P&gt;thnx.. It worked&lt;/P&gt;</description>
      <pubDate>Thu, 08 May 2014 17:08:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-retrieve-unique-IP-address-from-access-log-through-splunk/m-p/155108#M43638</guid>
      <dc:creator>veeru_irf</dc:creator>
      <dc:date>2014-05-08T17:08:16Z</dc:date>
    </item>
  </channel>
</rss>

