# Tagging rules with a List mapping

**URL:** <https://community.dynatrace.com/t/tagging-rules-with-a-list-mapping/53846>\
**Category:** Open Q&A\
**Tags:** tagging\
**Created:** [October 24, 2025, 6:25am UTC](https://community.dynatrace.com/t/tagging-rules-with-a-list-mapping/53846 "2025-10-24T06:25:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wiwinleung](https://avatars.discourse-cdn.com/v4/letter/w/41988e/32.png) [@wiwinleung](https://community.dynatrace.com/u/wiwinleung)\
**Post date:** [October 24, 2025, 6:25am UTC](https://community.dynatrace.com/t/tagging-rules-with-a-list-mapping/53846/1 "2025-10-24T06:25:51Z")

</div>

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](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

 ![Screenshot 2025-10-24 at 14.18.24.png](https://global.discourse-cdn.com/dynatrace/original/3X/7/3/73a9096f4a15071ec099c17ff18418a59da39d71.png)

---

<div class="post-metadata">

**Author:** ![JeanBlanc](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/jeanblanc/32/25897_2.png) [@JeanBlanc](https://community.dynatrace.com/u/JeanBlanc)\
**Post date:** [October 24, 2025, 9:45am UTC](https://community.dynatrace.com/t/tagging-rules-with-a-list-mapping/53846/2 "2025-10-24T09:45:20Z")

</div>

**Hi [@wiwinleung](https://community.dynatrace.com/user/88318)**

You can use the **Settings API** to automate this process:  
👉 [Settings API - Automatically applied tags schema table — Dynatrace Docs](https://docs.dynatrace.com/docs/discover-dynatrace/references/dynatrace-api/environment-api/settings/schemas/builtin-tags-auto-tagging)

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
