• 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
        • Enterprise Synthetic Monitoring
      • Synthetic Classic
        • Synthetic Classic Open Q&A
  • Home /
  • Public Forums /
  • Application Monitoring & UEM /
  • AppMon & UEM Open Q&A /
avatar image
Question by Carlos O. · Sep 17, 2018 at 10:35 AM · appmon 6.5 business transaction

BT split by http header

Hi,

I'm trying to split a business transaction by a header field with some different regex expressions but i dont have luck.

We have different values at this header, informing in which platform is running the application, for example:

  • user-agent: IOS 11.4.1 iPhone6Plus NATIVE_APP 2.6.3 STANDARD
  • user-agent: Android 7......

I want an split extracting the first part of the value (IOS, Android, WEB), can someone help me?

Thanks and regards,

Carlos Ortega.

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
Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 52.4 MB each and 262.1 MB total.

2 Replies

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

Answer by Arturo R. · Sep 17, 2018 at 11:52 AM

Hi,

regex101 (https://regex101.com/) can explain you some basics about regular expressions, enough to build something that meets your requirements (capture everything till the first space or dash...) and also you can try regular expressions and build your own.

If not, a google search about regular expression find first word (or any search like this) will give you plenty of results on how you can build one! (ex. https://stackoverflow.com/questions/5041453/extrac...

Hope you get what you pursue!

Comment

People who like this

0 Show 1 · 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
Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 52.4 MB each and 262.1 MB total.

avatar image Carlos O. · Sep 17, 2018 at 02:23 PM 0
Share

Hello,

At least i got it, i was using a wrong regular expression.

Thank you,

Carlos Ortega.

avatar image

Answer by Arturo R. · Sep 17, 2018 at 11:01 AM

Hi,

You need to create a custom split measure, based on the Web Request - Header Value default one, that make the transformation according to a defined regex (that extracts n characters, till the first space...).

Then use this new split/BT measure on your split part of the BT.

Hope this helps!

Comment

People who like this

0 Show 1 · 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
Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 52.4 MB each and 262.1 MB total.

avatar image Carlos O. · Sep 17, 2018 at 11:46 AM 0
Share

Hi,

My trouble comes with this regular expression, i dont know which one i have to use.

I supose that i dont have to filter any request, cause all have a valid value on the header field so the trick should be at the transformation field.

You know any web that can explain how to capture first N characters and skip the rest?

Thanks and regards,

Carlos Ortega.

Welcome to the
Dynatrace Community Forums

Check out the Community User Guide and First steps in the forum to learn how to get started.

Community Member of the Month
December 2019

Announcing Dynatrace's Community Member of the Month for December 2019, Enrico F.! Click here to read more!

Employee Member of the Month
December 2019

Announcing Dynatrace's Employee Member of the Month for December 2019, Silvia M.! Click here to read more!

Live webinar: Ensuring Digital Business Availability with Dynatrace

Learn how Dynatrace Real User Monitoring automatically detects errors that impact your end users caused by erroneous 3rd party or CDNs.
December 12, 4:00 pm CET / 10:00 am ET
Register here

Live webinar: Ensuring Digital Business Availability with Dynatrace

Learn how Dynatrace Real User Monitoring automatically detects errors that impact your end users caused by erroneous 3rd party or CDNs.
December 12, 4:00 pm CET / 10:00 am ET
Register here

Live webinar: Ensuring Digital Business Availability with Dynatrace

Learn how Dynatrace Real User Monitoring automatically detects errors that impact your end users caused by erroneous 3rd party or CDNs.
December 12, 4:00 pm CET / 10:00 am ET
Register here

Live webinar: Ensuring Digital Business Availability with Dynatrace

Learn how Dynatrace Real User Monitoring automatically detects errors that impact your end users caused by erroneous 3rd party or CDNs.
December 12, 4:00 pm CET / 10:00 am ET
Register here

Follow this Question

Answers Answers and Comments

31 People are following this question.

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

Related Questions

Business transaction splitting by single Web service time 1 Answer

Agent calling one method 1 Answer

Possible to create a measure based on agent name that can be used for splitting purposes in a BT ? 3 Answers

Same day last week 1 Answer

Restrict transaction based measure by agent 1 Answer

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api errors 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 browser agent community user guide hybris javascript appmon sensors good to know 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 diagnostics user session monitoring unique users continuous delivery configuration alerting NGINX splitting business transaction client 6.3 installation chart database scheduler apache mobileapp RUM php dashlet azure purepath plugins agent 7.1 appmonsaas messagebroker nodejs 6.2 incidents 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
      • Enterprise Synthetic Monitoring
    • Synthetic Classic
      • Synthetic Classic Open Q&A