<?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: srcip having numeric number in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/srcip-having-numeric-number/m-p/528285#M89074</link>
    <description>&lt;P&gt;Yes&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;gcusello , exactly it is working in Splunk as well.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Moto behind creating this filed extraction is there are some numeric values also being captured along with&amp;nbsp;ip address.&amp;nbsp; And i wanted to exclude those numeric values here. any suggestion would be highly appreciated here&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 06 Nov 2020 07:31:25 GMT</pubDate>
    <dc:creator>pavanbmishra</dc:creator>
    <dc:date>2020-11-06T07:31:25Z</dc:date>
    <item>
      <title>srcip having numeric number</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/srcip-having-numeric-number/m-p/528184#M89050</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;While analyzing the firewall logs, i could see src_ip (src) field taking some numeric number also alognwith actual ip address, sharing the below sample log where it is grabing src is 5864897 the numric one just after PASS.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nov 5 17:37:57 abcxyz.com fwlogs:[27999] match PASS 5864897/5893553 IN 60 TCP 10.10.10.10/4655-&amp;gt;10.20.20.20/443 S&lt;/P&gt;&lt;P&gt;I extracted field as below for src, still it is not getting parsed and taking numeric value. Kindly help&lt;/P&gt;&lt;P&gt;(TCP|FIN|RST|TIMEOUT)\s(?&amp;lt;srcip&amp;gt;\d+\.\d+\.\d+\.\d+)/&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 17:43:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/srcip-having-numeric-number/m-p/528184#M89050</guid>
      <dc:creator>pavanbmishra</dc:creator>
      <dc:date>2020-11-05T17:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: srcip having numeric number</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/srcip-having-numeric-number/m-p/528192#M89053</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/196109"&gt;@pavanbmishra&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;the problem is the final slash "/" that must be escaped:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "(TCP|FIN|RST|TIMEOUT)\s(?&amp;lt;srcip&amp;gt;\d+\.\d+\.\d+\.\d+)\/"&lt;/LI-CODE&gt;&lt;P&gt;that you can test at&amp;nbsp;&lt;A href="https://regex101.com/r/YTmopO/1" target="_blank"&gt;https://regex101.com/r/YTmopO/1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 17:58:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/srcip-having-numeric-number/m-p/528192#M89053</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-11-05T17:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: srcip having numeric number</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/srcip-having-numeric-number/m-p/528193#M89054</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;SPAN&gt;gcusello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I try this also, still no luck. same issue&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 18:08:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/srcip-having-numeric-number/m-p/528193#M89054</guid>
      <dc:creator>pavanbmishra</dc:creator>
      <dc:date>2020-11-05T18:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: srcip having numeric number</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/srcip-having-numeric-number/m-p/528276#M89070</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/196109"&gt;@pavanbmishra&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;probably your logs are different than the one you shared because the regex is correct:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ppp.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/11671i06574BA2A80C8FBD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ppp.png" alt="ppp.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Could you share other samples?&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2020 07:04:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/srcip-having-numeric-number/m-p/528276#M89070</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-11-06T07:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: srcip having numeric number</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/srcip-having-numeric-number/m-p/528280#M89071</link>
      <description>&lt;P&gt;Yeah it is, by the way many thanks for being helping hand&lt;/P&gt;&lt;P&gt;Even i try this and it is working on regex101 but not working under extracted field, here is the below sample log&lt;/P&gt;&lt;P&gt;Nov 6 07:13:43 xyz.com dflogs:[13223] match PASS 5864435/5893003 IN 52 TCP 10.10.10.10/62203-&amp;gt;10.20.20.20/443 SEW&lt;/P&gt;&lt;P&gt;Also wanted to highlight that src and src_ip field ia already there and i am overwritting the regex using field extraction, would that work? or is there anything else i need to look into here.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2020 07:19:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/srcip-having-numeric-number/m-p/528280#M89071</guid>
      <dc:creator>pavanbmishra</dc:creator>
      <dc:date>2020-11-06T07:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: srcip having numeric number</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/srcip-having-numeric-number/m-p/528284#M89073</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/196109"&gt;@pavanbmishra&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I don't understand why you want to overwrite the srcip value, anyway, the regex is correct and runs also in Splunk not only in regex101&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gcusello_0-1604647482264.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/11672i5F306F08CC51AB32/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gcusello_0-1604647482264.png" alt="gcusello_0-1604647482264.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As i said probably there's something different in your logs.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2020 07:25:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/srcip-having-numeric-number/m-p/528284#M89073</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-11-06T07:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: srcip having numeric number</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/srcip-having-numeric-number/m-p/528285#M89074</link>
      <description>&lt;P&gt;Yes&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;gcusello , exactly it is working in Splunk as well.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Moto behind creating this filed extraction is there are some numeric values also being captured along with&amp;nbsp;ip address.&amp;nbsp; And i wanted to exclude those numeric values here. any suggestion would be highly appreciated here&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2020 07:31:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/srcip-having-numeric-number/m-p/528285#M89074</guid>
      <dc:creator>pavanbmishra</dc:creator>
      <dc:date>2020-11-06T07:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: srcip having numeric number</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/srcip-having-numeric-number/m-p/528291#M89075</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/196109"&gt;@pavanbmishra&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;could you explay better this new situation?&lt;/P&gt;&lt;P&gt;what do you mean with "&lt;SPAN&gt;there are some numeric values also being captured along with&amp;nbsp;ip address"?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if you use my above regex you can only take values in IP4 format.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ciao.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Giuseppe&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2020 08:17:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/srcip-having-numeric-number/m-p/528291#M89075</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-11-06T08:17:31Z</dc:date>
    </item>
  </channel>
</rss>

