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

Auto tag rule for custom devices, using a dynamic value for the tag value


Is there a way to create an auto tag rule to apply the tag value of the management_zone property from the api response below? Specifically this would be done on a custom device.

I'm looking for an auto tag rule to apply this, the tag values will be dynamic, I can't use a static value. I also prefer not to deal with creating a script to run daily to add this tag. I'm hoping this can be done natively within the tool. Is this possible? I've created a 2.0 extension and have added some properties to the custom device, I'm now wanting to have an auto tag rule add these values.


    "totalCount": 1,
    "pageSize": 50,
    "entities": [
            "entityId": "some-value",
            "type": "some-value",
            "displayName": "some-value",
            "properties": {
                "management_zone": "some-value",
                "ticket_group": "some-value",
                "device": "some-value"
            "managementZones": []



This is what the properties and tags section looks like for the custom device




Dynatrace Champion
Dynatrace Champion

I'm afraid is not directly possible, but you can replicate the filter you're using in the management zone to create the autotag.

Featured Posts