<?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: request attribute - Web request URL - regex - extract second part of URI in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/request-attribute-Web-request-URL-regex-extract-second-part-of/m-p/78226#M4641</link>
    <description>&lt;P&gt;media\/([^\/?]*+) might work if you're only interested in that specific pattern. I was trying to test  it but it seems to keep crashing my page. &lt;/P&gt;&lt;P&gt;For reference here's a good doc on regex in Dynatrace: https://www.dynatrace.com/support/help/organize-monitored-entities/reference/how-do-i-use-regular-expressions-in-dynatrace/&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;</description>
    <pubDate>Wed, 27 Jun 2018 20:18:48 GMT</pubDate>
    <dc:creator>JamesKitson</dc:creator>
    <dc:date>2018-06-27T20:18:48Z</dc:date>
    <item>
      <title>request attribute - Web request URL - regex - extract second part of URI</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/request-attribute-Web-request-URL-regex-extract-second-part-of/m-p/78225#M4640</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;What should be the right regex in order to extract the second part of the URI?&lt;/P&gt;&lt;P&gt;In the followed example we would like to get vh3 &lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/17294-second-uri.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jun 2018 19:41:50 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/request-attribute-Web-request-URL-regex-extract-second-part-of/m-p/78225#M4640</guid>
      <dc:creator>Yosi_Neuman</dc:creator>
      <dc:date>2018-06-27T19:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: request attribute - Web request URL - regex - extract second part of URI</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/request-attribute-Web-request-URL-regex-extract-second-part-of/m-p/78226#M4641</link>
      <description>&lt;P&gt;media\/([^\/?]*+) might work if you're only interested in that specific pattern. I was trying to test  it but it seems to keep crashing my page. &lt;/P&gt;&lt;P&gt;For reference here's a good doc on regex in Dynatrace: https://www.dynatrace.com/support/help/organize-monitored-entities/reference/how-do-i-use-regular-expressions-in-dynatrace/&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jun 2018 20:18:48 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/request-attribute-Web-request-URL-regex-extract-second-part-of/m-p/78226#M4641</guid>
      <dc:creator>JamesKitson</dc:creator>
      <dc:date>2018-06-27T20:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: request attribute - Web request URL - regex - extract second part of URI</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/request-attribute-Web-request-URL-regex-extract-second-part-of/m-p/78227#M4642</link>
      <description>&lt;P&gt;Hi James,&lt;/P&gt;&lt;P&gt;Thanks for your answer&lt;/P&gt;&lt;P&gt;I read this page and tried few times different ways with no luck....&lt;/P&gt;&lt;P&gt;Your regex seem to invalid &lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/17297-invalid-reg.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 02:14:16 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/request-attribute-Web-request-URL-regex-extract-second-part-of/m-p/78227#M4642</guid>
      <dc:creator>Yosi_Neuman</dc:creator>
      <dc:date>2018-06-28T02:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: request attribute - Web request URL - regex - extract second part of URI</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/request-attribute-Web-request-URL-regex-extract-second-part-of/m-p/78228#M4643</link>
      <description>&lt;P&gt;post processing options allow for splitting the values, which will create an array of the different parts (assuming the delimiter is /). The question is how do I retrieve only the second element of that array&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 05:18:59 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/request-attribute-Web-request-URL-regex-extract-second-part-of/m-p/78228#M4643</guid>
      <dc:creator>gilgi</dc:creator>
      <dc:date>2018-06-28T05:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: request attribute - Web request URL - regex - extract second part of URI</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/request-attribute-Web-request-URL-regex-extract-second-part-of/m-p/78229#M4644</link>
      <description>&lt;P&gt;the split actually puts multiple values on the request, so that is not what you want here.&lt;/P&gt;&lt;P&gt;instead of that remove the split ad do a regex that will go for the second part. this regex should do the trick, it jumps over part one and takes part two.&lt;/P&gt;&lt;P&gt;/[^/]++/([^/]++)&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 12:04:19 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/request-attribute-Web-request-URL-regex-extract-second-part-of/m-p/78229#M4644</guid>
      <dc:creator>michael_kopp</dc:creator>
      <dc:date>2018-06-28T12:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: request attribute - Web request URL - regex - extract second part of URI</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/request-attribute-Web-request-URL-regex-extract-second-part-of/m-p/78230#M4645</link>
      <description>&lt;P&gt;Thanks Michael&lt;/P&gt;&lt;P&gt;This one is look working &lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/17306-look-ok.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 13:47:02 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/request-attribute-Web-request-URL-regex-extract-second-part-of/m-p/78230#M4645</guid>
      <dc:creator>Yosi_Neuman</dc:creator>
      <dc:date>2018-06-28T13:47:02Z</dc:date>
    </item>
  </channel>
</rss>

