mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-13 20:35:56 +08:00
chore: nginx integration: add note about adjusting regex if using custom log format (#5615)
This commit is contained in:
parent
aef935a817
commit
59121bd932
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user