Why is the CWP audit.log.service.headerFormat
(with a value like ${requestId}: processing message.
) ineffective in inserting traces into Kubernetes logs when a service is called?
Specifically:
audit.log.***
do not accept variables such as ${service.shared.spanId}
.keap.traceLogWriter
to include the spanId
directly in the log message.${service.shared.spanId}
cannot be edited or deleted. Attempts result in an error, both through the UI and RESTman, as shown below:Could you clarify why this happens and how we can properly use CWPs to log traces (like spanId
) in Kubernetes environments?
11.1
Whenever JSON formatter is used, regardless the platform (OVA, k8s, software), CWP for headerformat, footerformat, detailformat are all ignored, so they never get populated.