Docker
Create an integration.json file and mount it as a volume:
[
{
"service": "nginx",
"monitor": true,
"accessLog": "/var/log/nginx/access.log"
}
]
Then run the container:
docker run -d \
--name watchlog-agent \
--network host \
-v /path/to/integration.json:/app/app/config/integration.json \
-e WATCHLOG_APIKEY="YOUR_APIKEY" \
-e WATCHLOG_SERVER="https://log.watchlog.io" \
watchlog/agent:latest
