Creating custom profiler rules

You can create a custom profiler by adding the required tags, regex entries to specific columns within your tables. You can evaluate the tags and regex entries to Boolean values.

  1. On the Profilers page, click Tag Rules.
  2. On the Tag Rules tab, click New to create a new profiler tag rule.
  3. Enter the name of the new custom profiler tag rule.
  4. Enter the description for the custom tag rule.
  5. Select the tags to apply to assets which match your regex expressions. You can select tags from the drop-down list and or enter a new value to create a new tag.
    New tags that you create here are added with a dp_ prefix in the list of Atlas tags. For example, if you add a new tag called credit_card, this tag will be added as dp_credit_card in Apache Atlas.
  6. Enter the rule for the column name. As you enter the values, regex name and resource names are auto populated. Select the column that is needed for your custom profiler.
  7. Enter the column value for the DSL.
    Based on your entry, Cloudera Data Catalog auto-populates values from the entries already available in the Resources tab. For more information about behaviors, see Using DSL Grammar.
  8. Click Save and Validate.
    In the validation pop up window that appears, enter data to validate your custom profiler tag rule. Make sure you separate each data entry with a new line.
  9. Click Save to create a tag rule and validate and deploy it later.