<?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 Regex for URL in Business Transaction in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/Regex-for-URL-in-Business-Transaction/m-p/720897#M2282</link>
    <description>&lt;P&gt;I want to define two separate BTs:&lt;/P&gt;&lt;P&gt;* BT-1:&amp;nbsp; URI Ends with:&amp;nbsp; hendelser/feed&amp;nbsp;&lt;/P&gt;&lt;P&gt;* BT-2:&amp;nbsp; URI matches Regex: hendelser\/[a-f0-9]+&amp;nbsp; &amp;nbsp;(match for hexadecimal GUID)&lt;/P&gt;&lt;P&gt;My problem is that the Regex for BT-2 also consumes the URI for BT-1 which I definitely do not want, meaning that I cannot find a way to define a Regex that excludes the string "feed" when searching for a hexadecimal GUID.&lt;/P&gt;&lt;P&gt;I know some engines has support for Regex Conditionals which Appdynamics apparently don't support.&amp;nbsp; After spending too much time on this I wonder if some of you are more experienced than I am and could guide me on this matter?&lt;/P&gt;</description>
    <pubDate>Tue, 02 Jun 2020 13:33:43 GMT</pubDate>
    <dc:creator>Kjell-Einar_Ofs</dc:creator>
    <dc:date>2020-06-02T13:33:43Z</dc:date>
    <item>
      <title>Regex for URL in Business Transaction</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Regex-for-URL-in-Business-Transaction/m-p/720897#M2282</link>
      <description>&lt;P&gt;I want to define two separate BTs:&lt;/P&gt;&lt;P&gt;* BT-1:&amp;nbsp; URI Ends with:&amp;nbsp; hendelser/feed&amp;nbsp;&lt;/P&gt;&lt;P&gt;* BT-2:&amp;nbsp; URI matches Regex: hendelser\/[a-f0-9]+&amp;nbsp; &amp;nbsp;(match for hexadecimal GUID)&lt;/P&gt;&lt;P&gt;My problem is that the Regex for BT-2 also consumes the URI for BT-1 which I definitely do not want, meaning that I cannot find a way to define a Regex that excludes the string "feed" when searching for a hexadecimal GUID.&lt;/P&gt;&lt;P&gt;I know some engines has support for Regex Conditionals which Appdynamics apparently don't support.&amp;nbsp; After spending too much time on this I wonder if some of you are more experienced than I am and could guide me on this matter?&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2020 13:33:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Regex-for-URL-in-Business-Transaction/m-p/720897#M2282</guid>
      <dc:creator>Kjell-Einar_Ofs</dc:creator>
      <dc:date>2020-06-02T13:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: Regex for URL in Business Transaction</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Regex-for-URL-in-Business-Transaction/m-p/720898#M2283</link>
      <description>&lt;P&gt;The issue here is that "feed" is a valid hexadecimal number...&lt;/P&gt;&lt;P&gt;If you're sure that your application never needs to interpret 'feed' as anything other than the word feed, you should be able to manage this situation with rule priorities.&lt;/P&gt;&lt;P&gt;The higher priority rule should match "ends with hendelser/feed" and the lower priority one should be your regex match.&lt;/P&gt;&lt;P&gt;That way, exact feed matches will never hit the second rule.&lt;/P&gt;&lt;P&gt;The &lt;A href="https://docs.appdynamics.com/display/PRO45/Custom+Match+Rules#CustomMatchRules-SampleCustomMatchIncludeRule" target="_self" rel="nofollow noopener noreferrer"&gt;documentation&lt;/A&gt; shows you how to set rule priorites.&lt;/P&gt;&lt;P&gt;Warm regards,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2020 13:57:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Regex-for-URL-in-Business-Transaction/m-p/720898#M2283</guid>
      <dc:creator>Peter_Holditch</dc:creator>
      <dc:date>2020-06-02T13:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: Regex for URL in Business Transaction</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Regex-for-URL-in-Business-Transaction/m-p/720899#M2284</link>
      <description>&lt;P&gt;Ok, thanks Peter. I'll try it out and will see in a couple of days if it gives the wanted effect.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Kjell-Einar&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jun 2020 13:05:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Regex-for-URL-in-Business-Transaction/m-p/720899#M2284</guid>
      <dc:creator>Kjell-Einar_Ofs</dc:creator>
      <dc:date>2020-06-03T13:05:02Z</dc:date>
    </item>
  </channel>
</rss>

