ELASTICSEARCH-LOGS
Moteur de recherche distribué Elasticsearch — composant central des stacks ELK / EFK qui ingèrent et indexent les logs structurés EDI (envois, accusés, erreurs) pour debug et compliance.
Définition
Elasticsearch repose sur Apache Lucene. Indexation full-text, agregations, time-series (Index Lifecycle Management ILM), recherche near-real-time. Suite Elastic Observability (anciennement Elastic Stack) ajoute Kibana (visualisation), Beats (collectors) et Logstash (pipeline).
Origine
Créé en 2010 par Shay Banon. Elastic NV fondée en 2012. Bascule licence Elastic License 2.0 + SSPL en 2021 (réponse à AWS forks → OpenSearch).
Usage
Un opérateur EDI ingère 10 GB/jour de logs structurés JSON dans un cluster Elastic. Index pattern : edi-logs-* avec ILM (hot 7j → warm 30j → cold 90j → delete). Recherche depuis Kibana : 'trace_id:abc-123 AND partner_id:GLOBEX'. Drill-down en 200 ms.
Termes liés
- Trace ID — champ pivot.
- Audit trail — use case proche.
- Datadog — alternative SaaS.
- OpenTelemetry — format d'ingestion.