Skip to content

Update log collector docs for the fluentd to fluent-bit migration (EV-6164)#2815

Draft
hjiawei wants to merge 1 commit into
tigera:mainfrom
hjiawei:EV-6164-fluent-bit-docs
Draft

Update log collector docs for the fluentd to fluent-bit migration (EV-6164)#2815
hjiawei wants to merge 1 commit into
tigera:mainfrom
hjiawei:EV-6164-fluent-bit-docs

Conversation

@hjiawei

@hjiawei hjiawei commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Description

Calico Enterprise replaces the fluentd log collector with Fluent Bit (calico-fluent-bit in calico-system; tigera/operator#4910, tigera/calico-private#12538). This updates the next-version Calico Enterprise and Calico Cloud docs to match:

  • Filter flow logs / Filter DNS logs (both products): examples rewritten from fluentd <filter> syntax to Fluent Bit YAML filter lists; the user-filters ConfigMap is renamed fluentd-filtersfluent-bit-filters; an upgrade note explains that old fluentd-syntax filters are not read or translated and that the operator raises a tigera status warning naming any key that fails to parse.
  • Elasticsearch and Fluentd metrics page (both products): retitled for Fluent Bit; the fluentd buffer-space alert becomes fluentbit_output_chunk_available_capacity_percent, plus a new dropped-chunks alert on fluentbit_output_retries_failed_total. (File path kept for URL stability — happy to rename + add a redirect if preferred.)
  • Bring your own Prometheus (both products): the fluent-bit tab drops the client-TLS steps (the metrics endpoint is plain HTTP on :2020, /api/v2/metrics/prometheus, guarded by the allow-calico-fluent-bit policy) and points at the new fluent-bit-metrics-service-monitor.yaml sample.
  • Sweep of ~14 further pages: tigera-fluentdcalico-system, daemonset/label/secret renames, packet capture retrieval via the calico-node pod, calicoFluentBitDaemonSet resource-override examples, diags output, architecture overviews, Calico Cloud arch diagram ports and operator checklist.

Not touched: versioned docs, releases.json (historical), and the generated installation API reference (_api.mdx regenerates from the operator release — until then the #fluentbitdaemonset anchor is dangling, which the build ignores per onBrokenAnchors: ignore).

Validation: yarn build-next reports exactly the same three broken links as main — this PR introduces no new ones. Every resource/label/metric name was verified against the operator branch (hjiawei/operator:fluent-bit-deploy) or upstream Fluent Bit docs.

Should land together with the calico-private/operator PRs for the release that ships the migration.

🤖 Generated with Claude Code

Copilot AI review requested due to automatic review settings July 2, 2026 05:58
@netlify

netlify Bot commented Jul 2, 2026

Copy link
Copy Markdown

Deploy Preview for calico-docs-preview-next ready!

Name Link
🔨 Latest commit f923e00
🔍 Latest deploy log https://app.netlify.com/projects/calico-docs-preview-next/deploys/6a46058c4e45db0008d802ab
😎 Deploy Preview https://deploy-preview-2815--calico-docs-preview-next.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Jul 2, 2026

Copy link
Copy Markdown

Deploy Preview for tigera failed. Why did it fail? →

Built without sensitive environment variables

Name Link
🔨 Latest commit f923e00
🔍 Latest deploy log https://app.netlify.com/projects/tigera/deploys/6a46058c11aae300081330f4

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the next-version Calico Enterprise and Calico Cloud documentation to reflect the migration from the Fluentd log collector to Fluent Bit (calico-fluent-bit in calico-system), including updated filtering configuration examples, monitoring/metrics guidance, and component naming/namespace changes.

Changes:

  • Replace Fluentd-specific resource names, namespaces, and architecture references with Fluent Bit equivalents across Enterprise and Cloud docs.
  • Rewrite flow/DNS log filtering docs from Fluentd <filter> syntax to Fluent Bit YAML filter lists, including the ConfigMap rename to fluent-bit-filters and upgrade notes.
  • Update Prometheus monitoring docs and alert examples to Fluent Bit metrics and ServiceMonitor manifests, including new/different alert signals.

Reviewed changes

Copilot reviewed 27 out of 27 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
calico-enterprise/reference/component-resources/configure-resources.mdx Updates LogCollector resource-override examples and verification commands to Fluent Bit.
calico-enterprise/reference/clis/calicoctl/cluster/diags.mdx Updates diags output example to include calico-fluent-bit pods in calico-system.
calico-enterprise/reference/architecture/overview.mdx Replaces Fluentd architecture section/link with Fluent Bit.
calico-enterprise/operations/monitor/prometheus/byo-prometheus.mdx Updates BYO Prometheus scraping instructions for Fluent Bit and new ServiceMonitor reference.
calico-enterprise/operations/monitor/metrics/elasticsearch-and-fluentd-metrics.mdx Retitles and updates alert examples from Fluentd metrics to Fluent Bit metrics.
calico-enterprise/operations/license-options.mdx Updates license-expiration behavior text to reference Fluent Bit collector scale-down.
calico-enterprise/operations/comms/index.mdx Updates certificates/services table entries to Fluent Bit-related names/namespaces.
calico-enterprise/observability/review-unused-network-policies.mdx Updates example output to Fluent Bit-related policy naming.
calico-enterprise/observability/packetcapture.mdx Updates packet capture retrieval steps to use calico-node pods in calico-system.
calico-enterprise/observability/kube-audit.mdx Updates wording to reflect audit logs being consumed by Fluent Bit collector.
calico-enterprise/observability/elastic/overview.mdx Updates Elastic logging overview to reference Fluent Bit installation/behavior.
calico-enterprise/observability/elastic/flow/filtering.mdx Rewrites flow log filtering from Fluentd to Fluent Bit YAML list format; renames filters ConfigMap.
calico-enterprise/observability/elastic/dns/filtering-dns.mdx Rewrites DNS log filtering docs to Fluent Bit YAML list format; renames filters ConfigMap and adds upgrade note.
calico-enterprise/_includes/content/_default-install.mdx Updates default install table to mention Fluent Bit for log collection.
calico-enterprise/_includes/components/ReqsSys.js Updates system requirements table wording for log storage.
calico-cloud/reference/component-resources/configure-resources.mdx Updates LogCollector resource-override examples and verification commands to Fluent Bit.
calico-cloud/operations/monitor/prometheus/byo-prometheus.mdx Updates BYO Prometheus scraping instructions for Fluent Bit and new ServiceMonitor reference.
calico-cloud/operations/monitor/metrics/elasticsearch-and-fluentd-metrics.mdx Retitles and updates alert examples from Fluentd metrics to Fluent Bit metrics.
calico-cloud/operations/comms/index.mdx Updates certificates/services table entries to Fluent Bit-related names/namespaces.
calico-cloud/observability/packetcapture.mdx Updates packet capture retrieval steps to use calico-node pods in calico-system.
calico-cloud/observability/kube-audit.mdx Updates wording to reflect audit logs being consumed by Fluent Bit collector.
calico-cloud/observability/elastic/overview.mdx Updates Elastic logging overview to reference Fluent Bit installation/behavior.
calico-cloud/observability/elastic/flow/filtering.mdx Rewrites flow log filtering from Fluentd to Fluent Bit YAML list format; renames filters ConfigMap.
calico-cloud/observability/elastic/dns/filtering-dns.mdx Rewrites DNS log filtering docs to Fluent Bit YAML list format; renames filters ConfigMap and adds upgrade note.
calico-cloud/get-started/operator-checklist.mdx Updates operator checklist steps/output to Fluent Bit pods/namespace and per-node component list.
calico-cloud/get-started/cc-arch-diagram.mdx Updates Cloud architecture diagram table entries (component name + metrics port) for Fluent Bit.
calico-cloud/_includes/components/ReqsSys.js Updates system requirements table wording for log storage.

### CalicoFluentBitDaemonSet.

To configure resource specification for the [FluentdDaemonSet](../../reference/installation/api.mdx#fluentddaemonset), patch the LogCollector CR using the below command:
To configure resource specification for the [CalicoFluentBitDaemonSet](../../reference/installation/api.mdx#fluentbitdaemonset), patch the LogCollector CR using the below command:
### CalicoFluentBitDaemonSet.

To configure resource specification for the [FluentdDaemonSet](../../reference/installation/api.mdx#fluentddaemonset), patch the LogCollector CR using the below command:
To configure resource specification for the [CalicoFluentBitDaemonSet](../../reference/installation/api.mdx#fluentbitdaemonset), patch the LogCollector CR using the below command:
Comment thread calico-enterprise/operations/monitor/prometheus/byo-prometheus.mdx Outdated
Comment thread calico-cloud/operations/monitor/prometheus/byo-prometheus.mdx Outdated
…-6164)

Calico Enterprise removes the fluentd log collector in favour of Fluent Bit
(calico-fluent-bit in calico-system; tigera/operator#4910). Update the
next-version Calico Enterprise and Calico Cloud docs to match:

- Rewrite "Filter flow logs" / "Filter DNS logs": examples move from
  fluentd <filter> syntax to Fluent Bit YAML filter lists, the ConfigMap
  is renamed fluentd-filters -> fluent-bit-filters, and an upgrade note
  explains that old fluentd-syntax filters are not translated (the
  operator raises a tigera status warning naming the offending key).
- Metrics pages: Fluent Bit's built-in Prometheus endpoint (port 2020,
  /api/v2/metrics/prometheus, fluentbit_* metrics); the fluentd
  buffer-space alert becomes fluentbit_output_chunk_available_capacity_percent
  plus a dropped-chunks alert on fluentbit_output_retries_failed_total.
- BYO Prometheus: the fluent-bit tab needs no client TLS (plain HTTP
  behind the allow-calico-fluent-bit policy); ServiceMonitor sample is
  fluent-bit-metrics-service-monitor.yaml.
- Sweep of remaining pages: tigera-fluentd namespace -> calico-system,
  fluentd-node -> calico-fluent-bit (labels, secrets, packet capture
  retrieval via calico-node, diags output, resource override examples now
  use calicoFluentBitDaemonSet, architecture/overview descriptions,
  cc-arch-diagram ports, operator checklist).

Not touched: versioned docs, releases.json (historical), and the generated
installation API reference (regenerates from the operator release).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@hjiawei hjiawei force-pushed the EV-6164-fluent-bit-docs branch from 5e860df to f923e00 Compare July 2, 2026 06:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants