Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

chore: nginx integration: add note about adjusting regex if using custom log format (#5615)

Raj Kamal Singh59121bd9328c
diff --git a/pkg/query-service/app/integrations/builtin_integrations/nginx/config/collect-logs.md b/pkg/query-service/app/integrations/builtin_integrations/nginx/config/collect-logs.md
index 71712c503b..3e65cbc662 100644
--- a/pkg/query-service/app/integrations/builtin_integrations/nginx/config/collect-logs.md
+++ b/pkg/query-service/app/integrations/builtin_integrations/nginx/config/collect-logs.md
@@ -110,6 +110,13 @@ service:
```
+### If using non-default nginx log format, adjust log parsing regex
+
+If you are using a [custom nginx log format](https://docs.nginx.com/nginx/admin-guide/monitoring/logging/#setting-up-the-access-log),
+please adjust the regex used for parsing logs in the receivers named
+`filelog/nginx-access-logs` and `filelog/nginx-error-logs` in collector config.
+
+
#### Set Environment Variables
Set the following environment variables in your otel-collector environment: