rutger1140.ansible_role_vector

Ansible Vector für Ubuntu mit Logtail

Konfiguriert Vector mit Ansible für nginx, fail2ban und haproxy. Die Protokolle werden an logtail.com weitergeleitet.

Protokolldateien

Momentan werden folgende Protokolldateien erfasst:

  • nginx Zugriffs- und Fehlermeldungsprotokolle (/srv/www/domain.com/logs/*.log)
  • Authentifizierungsprotokoll (/var/log/auth.log)
  • fail2ban Protokoll (/var/log/fail2ban.log)
  • haproxy Protokoll (/var/log/haproxy.log)

Konfiguration

  • vector_logtail_bearer_token - füge das 'Quell-Token' von Logtail.com hinzu
  • vector_nginx_logs_path - setze den Pfad zu deinen nginx-Protokollen
Über das Projekt

Install and configure Vector for Logtail.com

Installieren
ansible-galaxy install rutger1140.ansible_role_vector
GitHub Repository
Lizenz
Unknown
Downloads
246
Besitzer