• 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 Antonin H. · Aug 28, 2015 at 01:15 PM ·

Dynatrace measure - regexp for argument value

Hello,

I have next XML and need to use only ExtnReference1 attribute.

<?xml version="1.0" encoding="UTF-8"?> <Order AllocationRuleID="" BuyerOrganizationCode="RIO_GLOBAL" CarrierServiceCode=" " Createts="2015-08-28T13:09:21+00:00" DocumentType="0005" EnterpriseCode="RIO_GLOBAL" OrderNo="PST_IB_2808_2_0182" OrderType=" " ReceivingNode="RGWHS02" SCAC="" ScacAndService="" SellerOrganizationCode="RIO_GLOBAL" ShipNode="" ShipToID=""> <Extn ExtnCustomerServiceType="CUSTRMA" ExtnDHLServiceType="REPL" ExtnEDIDocumentDate="20150828T210918Z" ExtnEDIDocumentIdentifier=" " ExtnFieldEngineerId=" " ExtnInstanceID="IRISO-98835-78184129-20150426231316131::PIP9014A84A14CF982208F00000105983A3:OUT-4384230-26-04-2015 23-13-14:144709193" ExtnIsSubstitutionAllowed=" " ExtnLegSequence="1" ExtnReference1="PST_IB_2808_2_0182" ExtnReference2="." ExtnReference3="IRISO" ExtnReference4="." ExtnReference5="33515447-78184129" ExtnReference6=" " ExtnRequestorId="rio_global_edi_requestor"

Measure and BT were created. When measure does not contain regexp for argument value, BT is splitted by this xml value (so measure and BT work).

tried to use several regexps, but everytimes BT stopped to work :(

.*ExtnReference1=\"([^\"]+)

.*ExtnReference1="(.?)"\s

validation in regexp dialog returns correct value. can anyone help?

Thank you very much.

Antonin

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
Best Answer

Answer by Roman S. · Aug 31, 2015 at 01:18 PM

The correct transformation regex for the method argument measure would be ExtnReference1="([^"]*)

As discussed via email the root of the problem is that the default settings are to capture only the first 250 characters and the ExtnReference1 element is not in that substring.

Comment
Antonin H.

People who like this

1 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

7 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Glassfish JMX measure CurrentThreadCount

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