Tagging rules with a List mapping

The customer has over hundread of systems and SystemId to Available mapping:

SystemId, Available
AA, High
BB, Medium
CC, High
DD, Low
EE, Medium
: :

The SystemId tagging (i.e. systemid: AA) is extracted by auto tagging rule from the name of the Synthetic Monitoring (i.e. [AA] http://www.google.com)

Anyone have a better idea on auto tagging rule than creating the rule as the attached screenshot to add Condition one by one?

Many thanks!

/Wiwin

Hi @wiwinleung

You can use the Settings API to automate this process:
:backhand_index_pointing_right: Settings API - Automatically applied tags schema table — Dynatrace Docs

Simply prepare your mapping (from a CSV or JSON file) and push it via a script (Python, PowerShell, etc.).

This way, you don’t need to click “Add condition” hundreds of times — the script can automatically generate all rules using the API.

Good luck!

Best regards,

Jean