Closed
Conversation
- Ajout d'Elasticsearch 8.11.1 pour le stockage et l'indexation des logs - Ajout de Fluentd avec plugin Elasticsearch pour la collecte des logs - Ajout de Kibana 8.11.1 pour la visualisation et l'analyse des logs - Configuration du logging fluentd pour Drupal et PostgreSQL - Création de la configuration Fluentd (fluent.conf et Dockerfile) - Mise à jour du QUICKSTART.md avec les instructions EFK - Création d'une documentation complète (docs/EFK_STACK.md) - Mise à jour du .gitignore pour ignorer les données EFK Les logs sont automatiquement collectés et indexés dans Elasticsearch. Accès Kibana: http://localhost:5601 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Le fichier docker-compose.yml contenait une erreur de syntaxe dans les sections depends_on des services postgres et drupal. On ne peut pas mélanger la syntaxe courte (- service) avec la syntaxe longue (service: condition:). Correction: - Utilisation de la syntaxe longue pour tous les depends_on - fluentd: condition: service_started - postgres: condition: service_healthy 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Problème: - Les services utilisaient localhost:24224 pour se connecter à Fluentd - Dans Docker, localhost fait référence au conteneur lui-même - Cela causait l'erreur: "dial tcp [::1]:24224: connect: connection refused" Solution: - Utilisation de fluentd:24224 (nom du service Docker) - Ajout de fluentd-async-connect: "true" pour permettre aux conteneurs de démarrer même si Fluentd n'est pas encore complètement prêt - Évite les blocages au démarrage 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Problème: - L'option 'fluentd-async-connect' n'existe pas dans le driver Fluentd - Erreur: "unknown log opt 'fluentd-async-connect' for fluentd log driver" Solution: - Utilisation de l'option correcte: 'fluentd-async' (sans '-connect') - Cette option permet aux conteneurs de démarrer de manière asynchrone sans attendre que Fluentd soit complètement prêt 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Les logs sont automatiquement collectés et indexés dans Elasticsearch. Accès Kibana: http://localhost:5601
🤖 Generated with Claude Code