• 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 Anusha K. · Mar 03, 2015 at 06:24 PM ·

UEM visits grouped by User

 

Hi,

 I would like group the visits based on the user name or location,but the visits are all coming with a comman name as local network.what might be the issue?

When i group by location,by default its taking as local network.

Please find the screenshot below.

 

Thanks and Regards.

K.Anusha

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.

62 Replies

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

Answer by Carlos S. · Mar 04, 2015 at 12:58 AM

Hi Anusha,

By looking at the screenshot, I think you should define locations maps, and load them into dynaTrace, since I guess you are using a default locations scenario, and all it can show are local networks (10.22.x.y, 10.24.x.y). (local meaning "internal networks, local to the app server)

So if you can define 10.22.16.0/24 as i.e. Toronto, Sales Office or so, you can have a split.

Username:

In order to show/list the user names there, you must use a Split and then Tag for UEM using that Split. i.e. for .Net apps, you can define usage of LOGON_USER variable, captured from a .Net app/app pool. Create a Split and then set up a Tag.

For Java, you may retrieve the username from any given method, memory sensor, servlet, etc...

 

Hope this helps,
Carlos. 

 

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 Srikar M. · Mar 04, 2015 at 01:53 AM

Hi Anusha,

Adding to Carlos's comment below are the steps to tag a visit with a user name:

1) configure dynatrace to capture the contextual information, in this case the user name, from cookie/method argument/method return value/ etc...

2) create a measure that extracts the user name

3) assign the respective measure to the 'tag visit with' under uem specific to the application

Below are screen shots from a demo app

1) we are capturing the user name info from a method by adding a method sensor

2) we create a measure to extract the user name

 

3)  we use the measure created above to tag a visit

 

Hope this helps.

Srikar

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 Srikar M. · Mar 04, 2015 at 02:15 AM

Some Additional comments from the screenshot you provided:

I see that you have visits with only 1 user action...is this expected in your application? You may want to ensure that the dtcookies are being set correctly

All the IPs are showing up the same (perhaps a nat'ed ip)...dynatrace gets the ip information from the request headers...if x-forwarded-for is set then that can be used to get the clients real ip

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 Anusha K. · Mar 04, 2015 at 03:54 PM

Hi Srikar Mohan,

 

How to check the dtCookies are being set correctly so that i can get a real IP?

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 Anusha K. · Mar 04, 2015 at 05:42 PM

 

Hi Carlos,

As per your comment :By looking at the screenshot, I think you should define locations maps, and load them into dynaTrace,

Kindly let us know how to set the default location maps .

 

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 Carlos S. · Mar 05, 2015 at 12:13 AM

Hi Anusha,

Srikar makes a very good point, that it seems like you are testing one single action from a couple of devices (but both have almost the same IP - 2 different segments), so we are probably looking at a proxy IP address/NAT'ed address.

Here is a screenshot on where to load IP specific mappings, open dynaTrace client -> Settings -> dynaTrace Servers and look at the check marks below (if you have several networks/segments, you can load a csv file with the mappings).

Also, you may define a specific header in order to retrieve and display the real client IP.

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 Anusha K. · Mar 05, 2015 at 05:23 PM

 

Hi Srikar,

The X forwaded for has been set i believe.Please find the screenshot below.

 

 

 

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 Ashwin -. · Mar 05, 2015 at 08:58 PM

 

Hi Team,

 

As per the 3 steps u have mentioned to Tag the measure,we are facing difficulty in creating the new method sensor,Could you please share the screen shots of creating the

method sensor rules containing method arguments.

 

Thanks

Ashwin.

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 Carlos S. · Mar 05, 2015 at 11:24 PM

Hi Ashwin,

It really depends on which technology you are using, for instance, Java or .Net? Or any idea on your application's tx flow?

Bests,
Carlos. 

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 Anusha K. · Mar 06, 2015 at 12:49 AM

 

Hi Carlos,

 

We are using JAVA technology.Currently our requiremnt is to capture all the user actions or visits based on the username.

We were able to capture based on location.Kindly suggest us how to get it in that particular location,the username as well.

 

Please find the screen shots below,

1.User Actions grouped by Visit.

2.Visits Grouped by Location.

As mention in the screen shot (Figure-1)Visit fromUnited Kingdom USA–We need to get it as visit from MR.XXX from USA.

 

 

 

Kindly Suggest

 

Thanks

Anusha.

 

 

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.

  • 1
  • 2
  • 3
  • 4
  • 5
  • ›
  • »

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

4 People are following this question.

avatar image avatar image 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