Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/softonic/nginx-vts
Nginx Docker image with access log in JSON format
https://github.com/softonic/nginx-vts
docker json-log nginx
Last synced: 13 days ago
JSON representation
Nginx Docker image with access log in JSON format
- Host: GitHub
- URL: https://github.com/softonic/nginx-vts
- Owner: softonic
- License: other
- Created: 2019-02-15T12:14:13.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-23T15:59:27.000Z (almost 2 years ago)
- Last Synced: 2024-04-15T09:21:21.026Z (9 months ago)
- Topics: docker, json-log, nginx
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/softonic/nginx-vts/builds
- Size: 24.4 KB
- Stars: 1
- Watchers: 7
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# Description
This nginx image exports metrics from VTS module to port 8080 with url /status.
It will output the logs in a JSON format to stdout.# Usage
You need to define the next environment variables:
* APPLICATION: application name to be used in the logs
You need to set in your server configuration the request_start_time variable. For example:
```
server {
listen 80;set $request_start_time '$time_iso8601';
server_name _;
}
```