• 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 Mark M. · Jul 25, 2012 at 05:51 PM · business transaction

How to breakdown Parameters and Attributes for BT

I can currently capture the Request Header with attribute "cookie", but all I need is the Customer Name(Client_XXXXXXX) at the moment.

Here is what is being captured:
JSESSIONID=xxxxxxxxxxxxxxxxxxxx.Server; LoginKey=xxxxxxxxxx|xxxxxxxx|en_US|xxxxxxx|Client_xxxxxxxxxxxx;

I only care about the Client portion for right now. The "X" are not a exact number each time. I figure once I get the Client's name only, I can figure out how to get the breakdown for more information if I need it.

The cookie capture all the information, I even tried "*" as accessor and failed. So I think I need to breakdown this cookie information.

Just looking for ways to breakdown and create a BT.

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 Mark M. · Jul 25, 2012 at 09:12 PM

Thanks for all your help, that did it.

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 Ted F. · Jul 25, 2012 at 07:36 PM

Right - that's what the transformation regex is for. It will apply that regex to the string and pull out the portions.

Capture the Cooke. Create a measure for it and try using (Client_.) or Client_(.) in the transformation regex to start - you may need to play around with it. You can copy the value of the Cookie into your clipboard and then use the lightbulb button to the right of the transformation regex field. Paste your clipboard into the 'value' field and try the regex'es in the other field.

We use regular Java regex, so there are a lot of resources on the web to help you build the regex.

thanks,
ted

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 Mark M. · Jul 25, 2012 at 07:31 PM

Actually, the JSESSIONID is part of the whole Request Header, "Cookie" is the attribute which is capturing the complete line above:

JSESSIONID=xxxxxxxxxxxxxxxxxxxx.Server; LoginKey=xxxxxxxxxx|xxxxxxxx|en_US|xxxxxxx|Client_xxxxxxxxxxxx;

So this one complete line, I need to break apart so I only Capture the Client's name and maybe the Value after "LoginKey="

So I trying to breakdown the whole line into portions.

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 Ted F. · Jul 25, 2012 at 06:03 PM

Hi Mark,

You can capture the JSESSIONID and then apply a 'transformation regex' on it. For example try '(Client_.*)' or 'Client_(.*)' (wihtout the quotes).

thanks,
ted

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

2 People are following this question.

avatar image avatar image

Related Questions

copy paste business transactions

Can you use OR in string matches? (Ends, contains, starts, etc., without REGEX)

Concurrent Visit split

Evaluating Properties of Method Argument Objects

How to create nodejs measures or business transactions

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