Tag filters in TrendMiner help you include only the tags you need by using regular expressions. This ensures clean, organized data and avoids syncing irrelevant tags.
Only tags that adhere to the regular expression will be synchronised to TrendMiner.
Tag filters can be added when creating or editing a datasource:

Examples of Tag Filters
-
Match Specific Tags
- Regex:
LINE.[1]+ - Effect: Retains only tags starting with "LINE.1".
- Regex:
-
Exclude Certain Prefixes
- Regex:
^(?:(?!BA:TEMP).).*$ - Effect: Excludes all tags starting with "BA:TEMP".
- Regex:
-
Filter by Prefix and Source
- Regex:
^\[pref\]PI.*$ - Effect: Syncs tags with prefix "[pref]" that start with "PI".
- Regex:
Tips for Using Tag Filters
- Test your regex to ensure it matches the desired tags.
- Combine with unique prefixes to prevent duplicate tag names.
