Loading...

Can I use regular expressions with masking in Metrics Reports?

Yes. You can use regular expressions to identify specific entities and file paths where data should be masked by using an additional setting.

For instructions on how to add additional settings from the CommCell Console, see Adding or Modifying Additional Settings from the CommCell Console.

Procedure

  • On each CommServe computer where you want to configure masking for specific entities and file paths, add the appropriate additional setting:
    • To mask specific paths when forwarding data to a Private Metrics Reporting Server, on the CommServe computer, add the CommservSurveyPrivateScrubRegex additional setting and configure the following values:

      Property

      Value

      Name

      CommservSurveyPrivateScrubRegex

      Category

      CommServDB.GxGlobalParam

      Type

      String

      Value

      Type the regex that masks specific file paths. For example, (\B/[\w./$-]+(?: [\w./$-]+)*)|(((\\\\[a-zA-Z0-9-_.:\\$]+)(\\([a-zA-Z0-9_.-\\$]+ ?)+)?\\?))|(([a-zA-Z]:\\)+(([a-z-A-Z0-9_.-\\$]+ ?)+)*\\?).

    • To mask specific paths when forwarding data to the Cloud Metrics Reporting Server, on the CommServe computer, add the CommservSurveyScrubRegex additional setting and configure the following values:

      Property

      Value

      Name

      CommservSurveyScrubRegex

      Category

      CommServDB.GxGlobalParam

      Type

      String

      Value

      Type the regex that masks specific file paths. For example, (\B/[\w./$-]+(?: [\w./$-]+)*)|(((\\\\[a-zA-Z0-9-_.:\\$]+)(\\([a-zA-Z0-9_.-\\$]+ ?)+)?\\?))|(([a-zA-Z]:\\)+(([a-z-A-Z0-9_.-\\$]+ ?)+)*\\?).

      Note: Verify that your regex conforms to the proper format, and then add the proper regex in the Value box. If your regex is not properly formed, the regex causes a data processing failure in the Cloud Metrics Reporting server.

Last modified: 11/29/2018 4:51:25 PM