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

How to get IP Address displayed in the Dynatrace alert

sundarv1
Organizer

How to get IP Address displayed in the Dynatrace alert. Currently when incident is generated from log - only hostname is getting displayed and not the IP Address.

Please find the below information coming from Dynatrace. IP Address is coming. How to get dynatrace primary IP.

displayed

Please find the below setting in console. I did try to use dt.host.ip and but it is not coming.

6 REPLIES 6

Eric_Yu
Dynatrace Mentor
Dynatrace Mentor

There's no property to pull that field for the problem, but you could consider using a Host renaming rule to include the IP with the hostname.
https://docs.dynatrace.com/docs/shortlink/hostname-config

{Host:DetectedName} [{Host:IpAddress}]
Eric Yu | LATAM ACE Consultant

Hi Eric

I did the same and but it is not working.

Thanks

Sundar.v

 

Esam_Eid
Pro

Hi @sundarv1 ,

 add host naming rules for you hostnames

Esam_Eid_0-1715748401722.png

Regards,
Esam Eid 

 

Dynatrace Certified Professional

How do we do this only one host

you can add conditions, for example:

add condition where host IPaddress equlas x.x.x.x

Esam_Eid_0-1715750427301.png

 

Dynatrace Certified Professional

Thanks. Which IP Address will be displayed - Is it primary IP Address ?.

Featured Posts