• 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 Bert H. · Jul 31, 2015 at 04:40 PM ·

BT Splitting/Filtering on URL (hashtag) of a User Action Purepath

In an Angular JS context, the value after the hashtag tells a lot about what the user is actually viewing. Which page.

Using the default UEM User Actions, we see visits and all actions below, but we are missing the context of that page. Since a single-page application only contains one real GET request in the beginning.

However, the User Action Purepaths contains the complete URL from the client which does contain the value of the hashtag. 

Is there a possibility to use this URL, a part of this URL anyway, as a splitting or filter option?

I tried with Page Actions - Name on Source URI, but no luck with that so far

 

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 Graeme W. · Aug 04, 2015 at 09:00 PM

Bert,

I don't think you're going to be able to do what you want to do – because of the limitation you pointed out in Source URI – but I'll escalate your question to R&D to confirm that.

-- Graeme

 

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 Bert H. · Aug 04, 2015 at 07:20 PM

Above a test BT where I split on Source URI where I capture everything using regex (.*)

As you can see, this is not the URL, but the URI which does not include Host info, parameters or hashtags.

I also tried (.(?!#/))+$, but since the value to match does not contain the hashtag, this doesn't work off course.

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 Rajesh S. · Aug 03, 2015 at 06:02 PM

Try out the regex: (.(?!#/))+$ and see if it works.

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 Bert H. · Aug 03, 2015 at 03:54 PM

This is indeed what I tried, but it didn't work.

Just to  test I created a splitting on Source URI without any expression, so I would see the entire thing. And I saw that it only gave me the URI. Without parameter and without #tags.

It is called "URI" and not "URL", so I guess it is by design.

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 Graeme W. · Jul 31, 2015 at 06:36 PM

Bert,

A Page Actions - Name measure should have worked.  Here's an example of what I think will work in your case:

First, I'm assuming that there isn't another '#' symbol is what you've blacked out, so you can pick up the tag at the end with just #/(.*)

Second, I embellished the regex to check that the URL includes 'resources', in case some such check would be useful.  You can modify this or leave it out to suit.  This is an example of a splitting measure also acting as a filter.

Third, I added a check that the action is a click – but you can leave that out if it's not necessary in your case.

One note:  transformation regexes don't have to match the whole string (e.g., the whole URL), but in this measure I think you do need to include parentheses (which define a so-called matching group), which is why I added () to the end of 'click'.  If you get it working this way, you can always drop the parentheses and see if it makes a difference.

Let us know how this goes ...

-- Graeme

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

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