Skip to content

Commit

Permalink
chore: nginx integration: add note about adjusting regex if using cus…
Browse files Browse the repository at this point in the history
…tom log format (#5615)
  • Loading branch information
raj-k-singh authored Jul 31, 2024
1 parent aef935a commit 59121bd
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 59121bd

Please sign in to comment.