14 May 2024 03:55 PM
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.
Solved! Go to Solution.
14 May 2024 04:29 PM
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}]
15 May 2024 04:29 AM
Hi Eric
I did the same and but it is not working.
Thanks
Sundar.v
15 May 2024 05:50 AM
Hi @sundarv1 ,
add host naming rules for you hostnames
Regards,
Esam Eid
15 May 2024 06:10 AM
How do we do this only one host
15 May 2024 06:21 AM
you can add conditions, for example:
add condition where host IPaddress equlas x.x.x.x
15 May 2024 03:27 PM
Thanks. Which IP Address will be displayed - Is it primary IP Address ?.