License Type | SaaS & On-Premise |
Agent Mode | Assess & Protect |
Main Product Category | Agent Operator |
Sub Category | Troubleshooting |
Objective
In some scenarios it may be required to get additional logging from the Agent Operator when injection fails.
If possible, follow the steps below to gather operator logs; this additional information is vital to helping us reproduce and fix issues.
Process
General operator logs can be retrieved with this kubectl
command:
kubectl logs -f deployment/contrast-agent-operator --namespace contrast-agent-operator
In some cases it may be required to increase the verbosity level of the logging. This can be done by editing the Agent Operator yaml and adding the following under the env:
section.
- name: CONTRAST_LOG_LEVEL
value: Trace
Once this is applied, restart the problematic pods and use kubectl
to capture the current Operator's logs.
These verbose logs will allow our support team to diagnose any issues you may encounter. To contact the Contrast Support Team, please submit a ticket to our online support portal.