Configures Vector with Ansible for nginx, fail2ban and haproxy. Logging is piped into logtail.com.
Currently these log files are ingested:
- nginx access + error logs (
/srv/www/domain.com/logs/*.log
) - auth log (
/var/log/auth.log
) - fail2ban log (
/var/log/fail2ban.log
) - haproxy log (
/var/log/haproxy.log
)
vector_logtail_bearer_token
- add the 'Source token' from Logtail.comvector_nginx_logs_path
- set the path to your nginx logs