• 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 Jalpesh S. · May 10, 2013 at 10:20 AM ·

Regex for query

Hi Team,

Please help me to find following pattern.
I want create measure to find Tata Consultancy Services Ltd

from Query  _nfpb=true&_portlet.async=false&_pageLabel=csnOverview&csn_cocode=5400&companyName=Tata%20Consultancy%20Services%20Ltd

Please suggest.

Regards,
Jalpesh

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.

1 Reply

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

Answer by Andreas G. · May 10, 2013 at 11:45 AM

Why do you want to use a RegEx for this?
I would do the following
a) capture the Servlet Parameter "companyName"
b) create a Http Parameter measure that filters on that name "Tata Consultancy Services Ltd"
c) use this in a Business Transaction as filter measure

Andi

Comment

People who like this

0 Show 2 · 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 Jalpesh S. · May 10, 2013 at 12:05 PM 0
Share

Hi Andy,

Thanks for reply.

I have given "Tata Consultancy Services Ltd"as example.
I want Regex for generic purpose.
So that I can capture various names.

Regards,
Jalpesh

avatar image Andreas G. ♦ Jalpesh S. · May 10, 2013 at 12:44 PM 0
Share

What is your ultimate goal? Is it to count the number of times a specific parameter has a certain value? If that is the case I would still go with my approach.

If you just want to count if a certain text is on the whole URL you can go with your approach. I am not a RegEx experts - so i hope somebody else can help you with this

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

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