• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home /
  • Public Forums /
  • Application Monitoring & UEM /
  • AppMon & UEM Open Q&A /
avatar image
Question by alexandre.leveille@sunmedia.ca · Dec 16, 2013 at 08:18 PM ·

Filter out certain URLs by query parameter

Hi,

I have troubles doing something that I think should be quite easy.

I am trying to split GET requests incoming to a server by their query parameters (there's a dozen queries that repeat all the time, the rest could be mapped to <...>).

So here's what I did:

  1. I went in the Sensor Configuration pane of the agent group I am interested in and set the Servlets sensor to capture all request parameters (Request Parameter = * in the Parameters and Attributes scroll pane). I am aware of the overhead, and this is not a problem at the moment.
  2. I went in the measure pane and duplicated "No JS, CSS Request" web requests measure and changed the regex to "(?i).*(?:WSDL|objectid).*". That is, it will be used to filter OUT any request that contains WSDL or objectid anywhere in the URI.
    1. If I test it, it matches webserver.org/webapp/page?command=dosomething&objectid=12345
  3. I also duplicated the measure "Complete URI Path" to create one that includes the query (checkbox checked)
  4. I went to Business Transaction and duplicated the Web Page Requests Business Transaction. I removed all the built-in filters and added my own filter (No WSDL nor objectid) and set it to Aggregate avg.
  5. I then change the splitting to remove the split by Application and change the split by "Complete Uri Path" to include the query.
  6. I removed the splitting limits, just to test my new business transaction.

When I open the dashlet for my new Business Transaction, I see that my filter is not working as I see request with queries like "command=dosomething&objectid=12345".

Can we filter on query parameters? Does anyone see what I am doing wrong?

Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

4 Replies

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image

Answer by alexandre.leveille@sunmedia.ca · Dec 17, 2013 at 09:29 PM

Make sense!! Thank you so much for spotting this!

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Andreas G. · Dec 16, 2013 at 11:40 PM

Hi. I looked into your sessions. There is one thing you need to change

Filter Measure

The objectdid, wsdl, ... are parameters on the Query String - NOT on the URI. Therefore you need to modify your measure definition and change the configuration for URI and Query. Make it so that it says: "URI starts with <empty>" (that will match all URIs) and "Query not regex (?........." (that will match those query strings that dont match your regex

makes sense?

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by alexandre.leveille@sunmedia.ca · Dec 16, 2013 at 11:16 PM

Hi,

I only analyzed new PurePaths coming in, I didn't knew we could analyze existing PP.

Thanks for looking into this. Here two news PurePaths, they are pretty much similar:

  • FilterWSDL.dts
  • FilterObjectid.dts

 

And just for reference, here's the BT, filter & splitting measures I described above:

 

 

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Andreas G. · Dec 16, 2013 at 10:27 PM

Hi. This all sounds good. Seems you know how BTs are supposed to work really well.

Just to check one thing: After you have created this BT - have you executed requests that resulted in NEW PurePaths and not just opened the BT for your existing PurePaths? If you change or create a new BT only new PurePaths will be analyzed - unless you make the changes on a stored session and do a "Process Configuration Changes". So - just to make sure: have you created new PurePaths?

Feel free to export one of these PurePaths and attach it so that we can have a look at it

Also: It is not necessary to remove the Application Splitting. It will done implicelty anyway as all our BTs are split by Application in order to be able to put it on the AppOverview.

Andi

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

No one has followed this question yet.

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api dashboard framework 7.0 appmon 7 health monitoring adk log monitoring services auto-detection uem webserver test automation license web performance monitoring ios nam probe collector migration mq web services knowledge sharing reports window java hybris javascript appmon sensors good to know extensions search 6.3+ server documentation easytravel web dashboard kibana system profile purelytics docker splunk 6.1 process groups account 7.2 rest dynatrace saas spa guardian appmon administration production user actions postgresql upgrade oneagent measures security Dynatrace Managed transactionflow technologies diagnostics user session monitoring unique users continuous delivery sharing configuration alerting NGINX splitting business transaction client 6.3 installation database scheduler apache mobileapp RUM php dashlet azure purepath agent 7.1 appmonsaas messagebroker nodejs 6.2 android sensor performance warehouse
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A