Data Filter Format

Data Filters are used when agent collects information from environment variables, system properties, jmx beans, HTTP cookies and HTTP headers.

CODE
<sensitive-data-filter applies-to="..."
                       match-type="..."
                       match-pattern="..."/>
  • match-type (required): A tag defining how to match the pattern with data. The possible value is one of EQUALS, CONTAINS, STARTSWITH, ENDSWITH.
  • match-pattern (required): A regular expression defining the sensitive data that triggers the filtering.
  • applies-to (required): A tag defining on which kind of data the pattern should be applied. The possible values are environment-variables, system-properties, jmx-mbeans, http-cookies, and http-headers.
    • Some environment-variables and system-properties tags are defined by default, for instance, data filters that contain a password, token or key. However, these filters can be overwritten with a valid custom filter for the environment variables.
    • http-headers and http-cookies tags are considered only when processing data in Transaction Snapshots or in Analytics Reports.