<?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: regex in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/regex/m-p/576050#M101801</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;please try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;\w+-(?&amp;lt;your_field&amp;gt;.*)&lt;/LI-CODE&gt;&lt;P&gt;that you can test at&amp;nbsp;&lt;A href="https://regex101.com/r/ujVKV6/1" target="_blank"&gt;https://regex101.com/r/ujVKV6/1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Tue, 23 Nov 2021 16:05:54 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2021-11-23T16:05:54Z</dc:date>
    <item>
      <title>regex</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/regex/m-p/576025#M101797</link>
      <description>&lt;P&gt;what should the best regex to catch it up these 3 diff fields&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-ec-1&lt;BR /&gt;-ec-01&lt;BR /&gt;-ec01&lt;/P&gt;</description>
      <pubDate>Tue, 23 Nov 2021 14:27:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/regex/m-p/576025#M101797</guid>
      <dc:creator>pavanbmishra</dc:creator>
      <dc:date>2021-11-23T14:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: regex</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/regex/m-p/576027#M101798</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 share a sample of your logs to be more sure?&lt;/P&gt;&lt;P&gt;Anyway, if these are the strings to extract as field, you could use:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "(?&amp;lt;your-field&amp;gt;ex[^ ]+)"&lt;/LI-CODE&gt;&lt;P&gt;But, please share your logs.&lt;/P&gt;&lt;P&gt;ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 23 Nov 2021 14:31:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/regex/m-p/576027#M101798</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-11-23T14:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: regex</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/regex/m-p/576048#M101800</link>
      <description>&lt;P&gt;We have host field ending with these strings ( -ec-1/-ec-01/-ec01)have to be captured through regex.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;abc-ec-1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;xyz-ec-01&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;pqr-ec01&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Nov 2021 15:58:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/regex/m-p/576048#M101800</guid>
      <dc:creator>pavanbmishra</dc:creator>
      <dc:date>2021-11-23T15:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: regex</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/regex/m-p/576050#M101801</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;please try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;\w+-(?&amp;lt;your_field&amp;gt;.*)&lt;/LI-CODE&gt;&lt;P&gt;that you can test at&amp;nbsp;&lt;A href="https://regex101.com/r/ujVKV6/1" target="_blank"&gt;https://regex101.com/r/ujVKV6/1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 23 Nov 2021 16:05:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/regex/m-p/576050#M101801</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-11-23T16:05:54Z</dc:date>
    </item>
  </channel>
</rss>

