• 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 Smith M. · Oct 11, 2014 at 12:40 AM ·

Requesting Confirmation that it is not possible (in DT 5.6) to capture specific request Parameter or Session Attribute or

Since the doc states that instrumenting with all may introduce overhead, I hope that I am just misunderstanding the doc.

Our application is a Java Application running on WebSphere 8.x .

Used the following approach from the doc referring to attributes and tried to apply it to Parms and Session attributes with no luck

Parameters and Attributes (  ): Capture values of certain parameters & attributes (i.e. Request Headers, Session Attributes, Request Attributes, Request Parameters) as Strings. A captured attribute may be specified explicitly by providing its name in the 'Attribute' column, capturing those that contain a certain name by providing a partial name in the 'Attribute' column or all available attribute may be captured by leaving the 'Attribute' column empty or fill it with '*'. See screenshot on the left side.

Complete Details contained in attached doc:

Capture specific Req Parms or Session Attributes.docx

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.

5 Replies

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

Answer by Smith M. · Jan 29, 2015 at 03:26 AM

ANy news, 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.

avatar image

Answer by Smith M. · Jan 20, 2015 at 01:00 AM

Andi, yes, if I specify "*" for all request params, the tool returns it properly (see below). It seems as if it is treating the "." as an instruction to use an accessor for request params.....

BTW, I tried the following without success: searchCriteria.carrierCode, "searchCriteria.carrierCode", searchCriteria*, searchCriteria/.carrierCode.

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. · Jan 18, 2015 at 11:38 PM

Hi

Is the parameter really called "searchCrtiera.CarrierCode"? If that is the case I got a question for you: Can you try and specify a *? I want to know whether we can capture that parameter if we instruct the servlet sensor to capture all parameters. If it works like that but not with specifying the full name including the . (dot) in the name then I suggest you open a support ticket.

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.

avatar image

Answer by Smith M. · Jan 17, 2015 at 03:57 AM

Thanks, I have been able to specify both specific request params and specific session attributes EXCEPT for the if I have a  request parameter named searchCriteria.CarrierCode. The "." special character seems to cause an issue (as if it was being interpreted as an accessor)

Handling other special characters works fine (grid_rec2_0 works fine, for example).

Do you have a recommendation for 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. · Oct 11, 2014 at 01:12 AM

Hi Mary Ann

IT IS possible to capture these types of things. You can capture all Session Attributes, Parameters or Headers. The thing that was discussed on that forum topic is capturing a specific Cookie. You can capture all Cookies by specifying to capture the Cookie HTTP Request Header. That will capture all cookies. You can then use our special Web Request Header Measures to extract a single cookie value. This is a little more convenient for ASP.NET but still works for Java

 

If I understand your question correctly though you are looking into general Parameters and attributes. This should work just fine by adding the names to the Servlet Sensor Settings. The following is a screenshot showing how to capture this type of data. This configuration will capture

  • the HTTP Request Parameter "username" (regardless whether posted as GET or POST parameter)
  • capture the value that getUsername() returns from the session object with the name user
  • capture all Request Headers

Once you make these changes NEW PurePaths will capture this information on the Servlet Nodes such as doFilter, doGet, service. So - after you make the change look at your new PurePaths that just came in and click on the Details on one of these Servlet specific nodes

If you want to learn more - we have a recorded webinar on how to capture additional Context Information with dynaTrace. It also covers capturing Servlet data: http://apmuonline.compuwareapm.com/mod/page/view.php?id=15627

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

1 Person is following this question.

avatar image

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