Data Filter for Cookies

You can use Cookie filters to configure the agent to obfuscate sensitive information from the URLs in transaction snapshot details.
  1. Edit the PHP configuration file, php.ini or appdynamics_agent.ini depending on your environment.
  2. Add sensitive cookie filter element as directives:
    • AppDynamicsCookieMatchPattern: Specify a regular expression identifying cookies that must be redacted.

      For example:

      CODE
      agent.sensitive_data_filter.cookieMatcher = "cookieKey"
    • For masking multiple cookies values simultaneously, provide names of all those cookies separated by the config delimiter as a single string as follows:
      CODE
      agent.sensitive_data_filter.cookieMatcher = "PHPSESSID|X-CSRF-TOKEN|cookiekey"
    If the config delimiter is present in the cookie name itself, change it to something else such that it should not occur in the cookie matcher strings.