Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
on 07-10-2018 09:03 AM - edited on 09-14-2018 11:24 AM by Nina.Wolinsky
Suppose your application is throwing an exception that contains some confidential or secret data exposed in the exception message and you don't want to display that information on the Controller.
You could add a block like below in <AgentHomeDir>/ver.x.x.x/conf/app-agent-config.xml
<sensitive-message-filters> <sensitive-message-filter message-type="throwable" match-type="CONTAINS" match-pattern="<Exception Message Static Text>" redaction-regex="<Regular Expression>"/> </sensitive-message-filters>
If you don't want to expose the actual account number on the Controller, use below block:
<sensitive-message-filters> <sensitive-message-filter message-type="throwable" match-type="CONTAINS" match-pattern="AccountNumber" redaction-regex="[0-9]+"/> </sensitive-message-filters>
Agent restart is required for the changes to take effect. After the changes and restart, this is what it should look like on the Controller:
Attached a sample app-agent-config.xml
By default what type of data is sent to SaaS controller?
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form