Setting Domain, Tag, and Ownership for Data Ingestion Sources using Transformers in Web UI

Original Slack Thread

Hello, I have many ingestion data sources. Can I auto set domain/tag/owner for data during ingestion from certain source?
P.S. I use Web UI.

you can use transformers for doing that: https://datahubproject.io/docs/metadata-ingestion/docs/transformer/intro

In the Web UI, just switch form Form to YAML to add the transformer section. Even if you switch back to Form later, these modifications are preserved.

    type: trino
       ...
transformers:
    -
        type: simple_add_dataset_tags
        config:
            tag_urns:
                - 'urn:li:tag:Important'```

Thank you very much!