cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Customers' using IPv4 and IPv6

Babar_Qayyum
DynaMight Guru
DynaMight Guru

Dear All,

Is it possible/or an easy way to distinguish the users' using the IPv4 or IPv6?

Regards,

Babar

6 REPLIES 6

AntonioSousa
DynaMight Guru
DynaMight Guru

@Babar_Qayyum,

I have copied the image below from a Request Attribute associated with client IP address. The IPv6 addresses are longer, so clearly distinguishable. In other parts of Dynatrace, namely sessions, it's the same.

 

AntonioSousa_0-1650221572289.png

 

Antonio Sousa

Hello @AntonioSousa 

I am using the "Client IP address" attribute for the eChannel applications where the DEM is not enabled. How did you get the above chart?

Regards,

Babar

@Babar_Qayyum,

If you have a request attribute set up, in the service details, select the "Request Attributes" tab, and expand the "Client IP address" attribute:

AntonioSousa_0-1650471343551.png

 

 

Antonio Sousa

techean
Dynatrace Champion
Dynatrace Champion

IPv4 IS generally numeric value with 32bit length, IPv6 is generally alphanumeric value with 128 bit length, we can use content validations

KG

DanielS
DynaMight Guru
DynaMight Guru

Hi @Babar_Qayyum there is no direct way to do it. But you could use "SELECT TOP (DISTINCT ip,500) FROM usersession GROUP BY ip ORDER BY ip DESC" and the IPv6 numbers are bigger so you can see them on top.

The true delight is in the finding out rather than in the knowing.

Hello @DanielS 

Thank you for sharing the query.

Regards,

Babar

Featured Posts