07 Jun 2021 03:31 AM - last edited on 03 Mar 2022 07:08 AM by MaciejNeumann
Kindly let me know how to use entity selector to filter only by host name, currently below API is working but need to add entity selector with host name,
Sivesh Kumar R
Solved! Go to Solution.
Check the entity parameter to specify the host/hosts, full list of host parameters can be found here https://www.dynatrace.com/support/help/shortlink/api-hosts-get-all#parameters
I'd recommend implementing a robust tagging strategy then filtering by tag, it's much more flexible than filtering by the static host ID. Your future self will thank you 🙂
How to Tag Host and all related services and processes using entity selector.
like in autotagging we will check apply to underlying hosts/process groups.