<?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 Need help on Rex Please: How to extract the below events? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Need-help-on-Rex-Please-How-to-extract-the-below-events/m-p/647816#M110155</link>
    <description>&lt;P&gt;Hi, I need&amp;nbsp; to extract the below events i tried this&amp;nbsp; | rex "URI\s(?&amp;lt;URI&amp;gt;.+?)="&amp;nbsp; &amp;nbsp;but not working. i want to extract for the 1&amp;amp; 2 events before the "="&lt;/P&gt;
&lt;TABLE width="402px"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="401px"&gt;URI /api/Hellothisistest?customerNumber=244479&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="401px"&gt;URI /api/Hellothisistest?customerNumber=247370&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="401px"&gt;URI&amp;nbsp; /api/Getthisextractessample&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="401px"&gt;URI&amp;nbsp; /api/createthisextractesof&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="401px"&gt;URI&amp;nbsp; /api/liverpooltestsoccer&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in Advance&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 22 Jun 2023 17:29:54 GMT</pubDate>
    <dc:creator>kc_prane</dc:creator>
    <dc:date>2023-06-22T17:29:54Z</dc:date>
    <item>
      <title>Need help on Rex Please: How to extract the below events?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-help-on-Rex-Please-How-to-extract-the-below-events/m-p/647816#M110155</link>
      <description>&lt;P&gt;Hi, I need&amp;nbsp; to extract the below events i tried this&amp;nbsp; | rex "URI\s(?&amp;lt;URI&amp;gt;.+?)="&amp;nbsp; &amp;nbsp;but not working. i want to extract for the 1&amp;amp; 2 events before the "="&lt;/P&gt;
&lt;TABLE width="402px"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="401px"&gt;URI /api/Hellothisistest?customerNumber=244479&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="401px"&gt;URI /api/Hellothisistest?customerNumber=247370&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="401px"&gt;URI&amp;nbsp; /api/Getthisextractessample&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="401px"&gt;URI&amp;nbsp; /api/createthisextractesof&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="401px"&gt;URI&amp;nbsp; /api/liverpooltestsoccer&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in Advance&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 17:29:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-help-on-Rex-Please-How-to-extract-the-below-events/m-p/647816#M110155</guid>
      <dc:creator>kc_prane</dc:creator>
      <dc:date>2023-06-22T17:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: Need help on Rex Please</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-help-on-Rex-Please-How-to-extract-the-below-events/m-p/647819#M110156</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/243022"&gt;@kc_prane&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;you can use this if you want to take all after URI:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "URI\s*(?&amp;lt;URI&amp;gt;.+)=*"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if instead you want the URL until "=" when present, you can use the following regex:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "URI\s*(?&amp;lt;URI&amp;gt;[^\=\n]+)(=*)|\n"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can test this regex at &lt;A href="https://regex101.com/r/jZY2kz/1" target="_blank"&gt;https://regex101.com/r/jZY2kz/1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 15:32:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-help-on-Rex-Please-How-to-extract-the-below-events/m-p/647819#M110156</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-06-21T15:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: Need help on Rex Please</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-help-on-Rex-Please-How-to-extract-the-below-events/m-p/647825#M110158</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp; modifed your query and helped&amp;nbsp; | rex "URI\s*(?&amp;lt;URI&amp;gt;[^\=\n]+)"&amp;nbsp; worked for me&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 15:54:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-help-on-Rex-Please-How-to-extract-the-below-events/m-p/647825#M110158</guid>
      <dc:creator>kc_prane</dc:creator>
      <dc:date>2023-06-21T15:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: Need help on Rex Please</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-help-on-Rex-Please-How-to-extract-the-below-events/m-p/647878#M110163</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/243022"&gt;@kc_prane&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;good for you, see next time!&lt;/P&gt;&lt;P&gt;let me know if I can help you more, or, please, accept one answer for the other people of Community.&lt;/P&gt;&lt;P&gt;Ciao and happy splunking&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 06:15:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-help-on-Rex-Please-How-to-extract-the-below-events/m-p/647878#M110163</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-06-22T06:15:08Z</dc:date>
    </item>
  </channel>
</rss>

