RousselTMLEARNING

Article · Fluent Bit and Vector: lightweight log collection

Fluent Bit or Vector?

This article is available in French.

1. Comparatif #

Deux excellents outils.

Critères #

CritèreFluent BitVector
LangageCRust
EmpreinteTrès faibleFaible
TransformationsFiltres + LuaVRL (riche, vérifié)
Tests de configurationLimités (--dry-run)Tests unitaires intégrés
SignauxLogs, métriques, traces (OTLP)Logs, métriques, traces (en partie)
KubernetesStandard de fait, chart officielChart officiel, rôles agent et agrégateur
GouvernanceCNCF (projet Fluentd)Datadog
Outils de mise au pointMétriques HTTPvector top, vector tap

2. Combiner #

Agent léger, agrégateur riche.

Architecture type #

# Fluent Bit (agent sur chaque nœud) vers Vector (agrégateur)
[OUTPUT]
    Name   http
    Match  kube.*
    Host   vector-aggregator.logging.svc
    Port   8080
    URI    /
    Format json
# Vector (agrégateur)
sources:
  depuis_agents:
    type: http_server
    address: 0.0.0.0:8080
    decoding: { codec: json }

L'agrégateur centralise transformations lourdes, masquage, routage multi-destinations et tampon disque ; les agents restent simples et légers.

3. Migrer #

Depuis Fluentd ou Logstash.

Démarche #

  1. Inventorier les entrées, filtres et sorties existants ; supprimer ce qui n'est plus utilisé.
  2. Traduire filtre par filtre (grok vers parse_regex ou parse_grok en VRL, filtres Fluentd vers filtres Fluent Bit).
  3. Écrire des tests avec de vrais échantillons de logs.
  4. Faire tourner l'ancien et le nouveau en parallèle vers deux index ou deux tenants, comparer volumes et champs.
  5. Basculer service par service.
À savoir : Fluent Bit et Vector savent recevoir et émettre de l'OTLP : si votre cible est OpenTelemetry, ils peuvent cohabiter avec un Collector ou Alloy pendant la transition.

📄 Fluent Bit ou Vector ? Choisir, combiner et migrer →

My progress

  • ⏱ Estimated time : ≈ 4 min

Sign in to track your progress and take notes. Sign in

✉️ Ask a question

Recommended Articles

Understanding the concept of score

The concept of score allows Elasticsearch to rank your documents by relevance during a search.

Understanding the Elastic Common Schema (ECS)

As always in our consulting engagements, we recommend that companies harmonise and standardise: k...

License consumption types

Understand the evolution of billing in Dynatrace: the difference between the old licensing model ...

Grafana Alloy: The importance of Self-Monitoring

Discover why and how to configure Grafana Alloy so that it monitors itself, collecting its own lo...

Grafana Alloy: Understanding and exploiting the User Interface (UI)

Discover how to enable, secure, and use Grafana Alloy's built-in web interface to visualize your ...

Grafana Alloy: Introduction and Architecture

Discover the fundamental concepts of Grafana Alloy, the transition from the static Agent to Alloy...

Grafana Alloy: Syntax and Configuration (Alloy Language: River)

As part of a Grafana training or observability training, master the declarative syntax of Grafana...

Grafana Alloy: Metrics Collection (Prometheus & Ecosystem)

Learn how to configure Grafana Alloy to collect, transform, and forward metrics using the Prometh...

Grafana Alloy: Log Management with Loki

Discover how to configure Grafana Alloy to read log files, journald, or network streams, process ...