<?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: Using REGEX for HTTP parameter existence JAVA in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/Using-REGEX-for-HTTP-parameter-existence-JAVA/m-p/729926#M6904</link>
    <description>&lt;P&gt;Its a servlet transaction. The action that it registers is opening a case. There are multiple cases and each one has different number registration.&lt;/P&gt;</description>
    <pubDate>Thu, 05 Oct 2017 10:54:13 GMT</pubDate>
    <dc:creator>CommunityUser</dc:creator>
    <dc:date>2017-10-05T10:54:13Z</dc:date>
    <item>
      <title>Using REGEX for HTTP parameter existence JAVA</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Using-REGEX-for-HTTP-parameter-existence-JAVA/m-p/729924#M6902</link>
      <description>&lt;P&gt;Hey all,&lt;/P&gt;

&lt;P&gt;I was wondering if you can use REGEX for matching the HTTP parameter existance. I can't ready anywhere something about it yet it seems like you can only use regex at checking the parameter value.&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="REGEX.PNG" style="width: 720px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/35735i626DEC30F84AACB6/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;The scenario:&lt;/P&gt;
&lt;P&gt;The link is '/pages/cases?162-1.IBehaviorListener.0-caseOverviewForm-caseOverviewResultPanel-casesBody-cases-1-specialAttentionCell' where '162-1.IBehaviorListener.0-caseOverviewForm-caseOverviewResultPanel-casesBody-cases-1-specialAttentionCell'&amp;nbsp;' is the parameter with no value. The tricky thing is that the parameter changes the number with each case.&lt;/P&gt;
&lt;P&gt;So the example link looks like this&lt;/P&gt;
&lt;P&gt;162-1.IBehaviorListener.0-caseOverviewForm-caseOverviewResultPanel-casesBody-cases-1-specialAttentionCell'&amp;nbsp; or&lt;/P&gt;
&lt;P&gt;122-1.IBehaviorListener.0-caseOverviewForm-caseOverviewResultPanel-casesBody-cases-0-specialAttentionCell' or&lt;/P&gt;
&lt;P&gt;10-1.IBehaviorListener.0-caseOverviewForm-caseOverviewResultPanel-casesBody-cases-3-specialAttentionCell'&lt;/P&gt;

&lt;P&gt;So I figured I'll do this through REGEX with: \d.*(-1.IBehaviorListener.0-caseOverviewForm-caseOverviewResultPanel-casesBody-cases-)\d.*(-specialAttentionCell)&lt;/P&gt;
&lt;P&gt;That however doesn't work?&lt;/P&gt;

&lt;P&gt;Any tips or tricks?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2017 10:44:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Using-REGEX-for-HTTP-parameter-existence-JAVA/m-p/729924#M6902</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2017-10-05T10:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: Using REGEX for HTTP parameter existence JAVA</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Using-REGEX-for-HTTP-parameter-existence-JAVA/m-p/729925#M6903</link>
      <description>&lt;P&gt;What Business Transactions would you like to be tracking as a result of the rule you're trying to create and the example links you provided?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2017 10:51:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Using-REGEX-for-HTTP-parameter-existence-JAVA/m-p/729925#M6903</guid>
      <dc:creator>Peter_Holditch</dc:creator>
      <dc:date>2017-10-05T10:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: Using REGEX for HTTP parameter existence JAVA</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Using-REGEX-for-HTTP-parameter-existence-JAVA/m-p/729926#M6904</link>
      <description>&lt;P&gt;Its a servlet transaction. The action that it registers is opening a case. There are multiple cases and each one has different number registration.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2017 10:54:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Using-REGEX-for-HTTP-parameter-existence-JAVA/m-p/729926#M6904</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2017-10-05T10:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: Using REGEX for HTTP parameter existence JAVA</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Using-REGEX-for-HTTP-parameter-existence-JAVA/m-p/729927#M6905</link>
      <description>&lt;P&gt;So is the problem statement that you want a BT for HTTP requests that hit the /pages/cases URL&amp;nbsp;ONLY if a parameter of the form you provided exists?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2017 11:23:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Using-REGEX-for-HTTP-parameter-existence-JAVA/m-p/729927#M6905</guid>
      <dc:creator>Peter_Holditch</dc:creator>
      <dc:date>2017-10-05T11:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: Using REGEX for HTTP parameter existence JAVA</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Using-REGEX-for-HTTP-parameter-existence-JAVA/m-p/729928#M6906</link>
      <description>&lt;P&gt;Thats exactly what I want. To clarify it even more.&lt;/P&gt;

&lt;P&gt;The url /pages/cases is a business transaction already. I however need to monitor one extra substep that falls under the .pages/cases link. The thing that makes the transaction unique is the HTTP parameter as provided above. The crux is that http parameter can change depending on which case you open. So if I tell Appdynamics to check specifically for the&amp;nbsp;the parameter above It'll only do it for that specific case.&amp;nbsp;so the specific&amp;nbsp;parameter needs to be filtered to a general parameter.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2017 11:33:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Using-REGEX-for-HTTP-parameter-existence-JAVA/m-p/729928#M6906</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2017-10-05T11:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: Using REGEX for HTTP parameter existence JAVA</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Using-REGEX-for-HTTP-parameter-existence-JAVA/m-p/729929#M6907</link>
      <description>&lt;P&gt;I have not tested, but you could try&amp;nbsp;a rule which matches /pages/cases and&amp;nbsp;configure the following&amp;nbsp;split:&lt;/P&gt;

&lt;P&gt;Apply a custom expression on HTPServletRequest&lt;/P&gt;
&lt;P&gt;getQueryString().matches(\.*&lt;SPAN&gt;BehaviorListener\.\\d+-caseOverviewForm-caseOverviewResultPanel-casesBody-cases-\\d+-specialAttentionCell\.*)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;If my regex-fu is right, this will result in 2 BTs called &lt;EM&gt;name&lt;/EM&gt;.true and &lt;EM&gt;name&lt;/EM&gt;.false where &lt;EM&gt;name&lt;/EM&gt;.true is the class of BT you're trying to get at&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2017 12:01:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Using-REGEX-for-HTTP-parameter-existence-JAVA/m-p/729929#M6907</guid>
      <dc:creator>Peter_Holditch</dc:creator>
      <dc:date>2017-10-05T12:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: Using REGEX for HTTP parameter existence JAVA</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Using-REGEX-for-HTTP-parameter-existence-JAVA/m-p/729930#M6908</link>
      <description>&lt;P&gt;Interesting. I'm going to check this out this week&lt;/P&gt;

&lt;P&gt;Still one question though. Is it possible to use regex in the HTTP parameter or is this only possible for de values of HTTP parameters?&lt;/P&gt;

&lt;P&gt;I'll get back on you about the given solution.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 09 Oct 2017 11:12:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Using-REGEX-for-HTTP-parameter-existence-JAVA/m-p/729930#M6908</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2017-10-09T11:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: Using REGEX for HTTP parameter existence JAVA</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Using-REGEX-for-HTTP-parameter-existence-JAVA/m-p/729931#M6909</link>
      <description>&lt;P&gt;Hey Pholditch,&lt;/P&gt;

&lt;P&gt;Just getting back to you. The solution did work however not the way you explained. I've changed the regex expression and right now a transaction wil get the name of the custom rule as soon as the regex matches. Not getting back any boolean. This kind of acts as I wanted (sometimes the results still are weird though. Could be the regex).&lt;/P&gt;

&lt;P&gt;Anyways is there any kind of feature coming in the future for performing regex on http parameters names?&lt;/P&gt;

&lt;P&gt;Thanks for the solution&lt;/P&gt;</description>
      <pubDate>Wed, 14 Mar 2018 16:15:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Using-REGEX-for-HTTP-parameter-existence-JAVA/m-p/729931#M6909</guid>
      <dc:creator>CommunityUser</dc:creator>
      <dc:date>2018-03-14T16:15:17Z</dc:date>
    </item>
  </channel>
</rss>

