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
Answer by Carlos S. ·
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.
Answer by Srikar M. ·
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
Answer by Srikar M. ·
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
Answer by Carlos S. ·
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.
Answer by Ashwin -. ·
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.
Answer by Anusha K. ·
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.
JANUARY 15, 3:00 PM GMT / 10:00 AM ET