<?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: field extraction in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/field-extraction/m-p/528169#M89044</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;sam answer: you don't need field extractions, but if you want you can use one or three&amp;nbsp; similar regexes:&lt;/P&gt;&lt;P&gt;one regex&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "applist\=\"(?&amp;lt;applist&amp;gt;[^\"]+)\"\s+action\=\"(?&amp;lt;action&amp;gt;[^\"]+)\"\s+ appcat\=\"(?&amp;lt;appcat&amp;gt;[^\"]+)\""&lt;/LI-CODE&gt;&lt;P&gt;three regexes:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "applist\=\"(?&amp;lt;applist&amp;gt;[^\"]+)\""
| rex "action\=\"(?&amp;lt;action&amp;gt;[^\"]+)\""
| rex "appcat\=\"(?&amp;lt;appcat&amp;gt;[^\"]+)\""&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Nov 2020 16:42:25 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2020-11-05T16:42:25Z</dc:date>
    <item>
      <title>field extraction</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/field-extraction/m-p/528160#M89039</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;what should be the regex while doing event extraction for srcip&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;eventtime=1604591829395228259 appid=41 srcip=192.168.1.1 dstip=192.168.2.2 srcport=47450 dstport=443&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 15:55:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/field-extraction/m-p/528160#M89039</guid>
      <dc:creator>pavanbmishra</dc:creator>
      <dc:date>2020-11-05T15:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: field extraction</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/field-extraction/m-p/528162#M89040</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;you shouldn't need to extract the srcip field because Splunk automatically recognizes the pairs "field=value".&lt;/P&gt;&lt;P&gt;Anyway, you can extract the value of srcip using the following regex:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "srcip\=(?&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/fJaZwd/1" target="_blank"&gt;https://regex101.com/r/fJaZwd/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 16:02:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/field-extraction/m-p/528162#M89040</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-11-05T16:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: field extraction</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/field-extraction/m-p/528167#M89043</link>
      <description>&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;And what about action field here&lt;/P&gt;&lt;P&gt;applist="sniffer-profile" action="pass" appcat="Network.Service"&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 16:36:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/field-extraction/m-p/528167#M89043</guid>
      <dc:creator>pavanbmishra</dc:creator>
      <dc:date>2020-11-05T16:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: field extraction</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/field-extraction/m-p/528169#M89044</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;sam answer: you don't need field extractions, but if you want you can use one or three&amp;nbsp; similar regexes:&lt;/P&gt;&lt;P&gt;one regex&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "applist\=\"(?&amp;lt;applist&amp;gt;[^\"]+)\"\s+action\=\"(?&amp;lt;action&amp;gt;[^\"]+)\"\s+ appcat\=\"(?&amp;lt;appcat&amp;gt;[^\"]+)\""&lt;/LI-CODE&gt;&lt;P&gt;three regexes:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "applist\=\"(?&amp;lt;applist&amp;gt;[^\"]+)\""
| rex "action\=\"(?&amp;lt;action&amp;gt;[^\"]+)\""
| rex "appcat\=\"(?&amp;lt;appcat&amp;gt;[^\"]+)\""&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 16:42:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/field-extraction/m-p/528169#M89044</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-11-05T16:42:25Z</dc:date>
    </item>
  </channel>
</rss>

