<?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 extract client IPs in a different format than Splunk recognizes? in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/How-to-extract-client-IPs-in-a-different-format-than-Splunk/m-p/20175#M7005</link>
    <description>&lt;P&gt;Any example for the raw events containing the IP address. At a basic level, the following regex will pick up IP addresses in dotted decimal format (e.g. 192.168.0.2)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(?P&amp;lt;ip&amp;gt;\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;There is a more specific regex, as this would pick up subnet masks (e.g. 255.255.255.0) if they exist. &lt;/P&gt;</description>
    <pubDate>Sat, 28 Jul 2012 01:03:00 GMT</pubDate>
    <dc:creator>MHibbin</dc:creator>
    <dc:date>2012-07-28T01:03:00Z</dc:date>
    <item>
      <title>How to extract client IPs in a different format than Splunk recognizes?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-extract-client-IPs-in-a-different-format-than-Splunk/m-p/20174#M7004</link>
      <description>&lt;P&gt;I am researching information into error log files and the way they're formatted is different so Splunk doesn't recognize the client ip addresses even though they're there and I have to format a report on the top 50 ip addresses, but I am not sure how to go about extracting them? Or if I need to add a new field?&lt;/P&gt;

&lt;P&gt;As well, I had to format a list of the top 50 error types and it turned out that there were only 10 error types that covered all the log. But, when I went to record the count, when I added them all up, there was more than Splunk is showing as the count of the whole log file. I have double and triple checked, isolated each of the events and adding them up and even excluding one event and checking to see the amount left over. I can't seem to figure out what could be wrong.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jul 2012 23:23:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-extract-client-IPs-in-a-different-format-than-Splunk/m-p/20174#M7004</guid>
      <dc:creator>allyandrews14</dc:creator>
      <dc:date>2012-07-27T23:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract client IPs in a different format than Splunk recognizes?</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/How-to-extract-client-IPs-in-a-different-format-than-Splunk/m-p/20175#M7005</link>
      <description>&lt;P&gt;Any example for the raw events containing the IP address. At a basic level, the following regex will pick up IP addresses in dotted decimal format (e.g. 192.168.0.2)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(?P&amp;lt;ip&amp;gt;\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;There is a more specific regex, as this would pick up subnet masks (e.g. 255.255.255.0) if they exist. &lt;/P&gt;</description>
      <pubDate>Sat, 28 Jul 2012 01:03:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/How-to-extract-client-IPs-in-a-different-format-than-Splunk/m-p/20175#M7005</guid>
      <dc:creator>MHibbin</dc:creator>
      <dc:date>2012-07-28T01:03:00Z</dc:date>
    </item>
  </channel>
</rss>

