> For AI agents: this documentation is indexed at https://docs.united-security-providers.ch/usp-core-waap/llms.txt, and every page is available as markdown at its own address plus index.md.

# Logs and Metrics {#logs-and-metrics}

Logs about Core WAAP's http request/response processing and possible security policy violation events are crucial for the visibility of the target web application or API operation.
Core WAAP Operator logs allow to monitor configuration change events. Besides logs, metrics offer quantitative data on aspects like traffic volume, response times, and blocked threats, enabling the monitoring of Core WAAP effectiveness over time and identifying trends or anomalies.

The Core WAAP components log to the standard out in JSON format and can be used by customers log stack for further processing and visualization. Metrics are exposed in Prometheus format via a dedicated Kubernetes service which named after Core WAAP CRD with `metrics-` prefix. Service's port can be configured in `spec.operation.metrics` section of the CRD (see [API Description](../configuration/crd-doc.md) for it). The URL is `/metrics`.

How the log and monitoring stack is beyond the scope of this documentation.
