Skip to content

DOCS-3028: Update log collector docs for the Fluentd to Fluent Bit migration - #3004

Merged
ctauchen merged 4 commits into
tigera:mainfrom
ctauchen:DOCS-3028-fluent-bit-docs
Sep 4, 2026
Merged

DOCS-3028: Update log collector docs for the Fluentd to Fluent Bit migration#3004
ctauchen merged 4 commits into
tigera:mainfrom
ctauchen:DOCS-3028-fluent-bit-docs

Conversation

@ctauchen

@ctauchen ctauchen commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator

Calico Enterprise 3.24 EP3 replaces the Fluentd log collector with Fluent Bit, deployed as calico-fluent-bit in calico-system. This updates the Calico Enterprise and Calico Cloud next docs to match.

This supersedes #2815, which Jiawei opened in July. Jiawei's two commits are cherry-picked with his authorship intact, and tianfeng92's verification of the commands carries over. The release notes and upgrade notes are split out into a stacked follow-up, so this PR is only the documentation changes.

What is here:

  • Filter flow logs and Filter DNS logs, both products: examples rewritten from Fluentd filter syntax to Fluent Bit YAML filter lists, and the user-filters ConfigMap renamed from fluentd-filters to fluent-bit-filters.
  • Elasticsearch and Fluent Bit metrics, both products: retitled, the buffer-space alert moves to fluentbit_output_chunk_available_capacity_percent, and a dropped-chunks alert on fluentbit_output_retries_failed_total is added. The file path is unchanged so the URL stays stable.
  • Bring your own Prometheus, both products: the fluent-bit tab drops the client-TLS steps, because the metrics endpoint is plain HTTP on port 2020 at /api/v2/metrics/prometheus, and points at the new fluent-bit-metrics-service-monitor.yaml sample.
  • Archive logs, Calico Enterprise: the splunk-ca ConfigMap for HTTP Event Collector endpoints whose certificate is signed by a private CA.
  • A sweep of around 14 further pages: tigera-fluentd to calico-system, DaemonSet, label and secret renames, packet capture retrieval through the calico-node pod, calicoFluentBitDaemonSet resource-override examples, diags output, the architecture overviews, and the Calico Cloud architecture diagram and operator checklist.

What changed from #2815:

  • The Fluentd filter migration moves from a note at the end of each filtering page into a Before you begin section, so a reader who already has filters meets it before the task rather than after their logs go missing. It names the command that surfaces the operator warning, and records that filters apply to Linux nodes only.
  • The four filters the log collector image ships are listed as an exhaustive set and each is linked, so nobody writes a filter the image cannot load.
  • Operational detail that was previously only in the release notes now lives on the page that owns it: filesystem buffering and its per-destination caps in the log collection overview, the S3 object key layout and the syslog packet-size default in Archive logs, and the deprecated override field and its container-name aliases in Configure resource requests and limits.
  • The syslog private-CA step is reworded to match the new Splunk step beside it, so the two adjacent steps read the same way.

Every resource, label, metric, port, and default in these pages was re-verified against merged code rather than the pre-merge branch #2815 was written from: tigera/operator#4910 and tigera/calico-private#12538.

Not touched: versioned docs, releases.json, and the generated installation API reference. _api.mdx regenerates from the operator release at the EP3 cut.

Validation: yarn build-next completes with no warnings and no broken links. Vale reports nothing on the changed lines. The five new links to the Fluent Bit documentation all resolve.

Pages to review on the deploy preview:

  • Filter flow logs: /calico-enterprise/next/observability/elastic/flow/filtering
  • Filter DNS logs: /calico-enterprise/next/observability/elastic/dns/filtering-dns
  • Elasticsearch and Fluent Bit metrics: /calico-enterprise/next/operations/monitor/metrics/elasticsearch-and-fluentd-metrics
  • Bring your own Prometheus: /calico-enterprise/next/operations/monitor/prometheus/byo-prometheus
  • Archive logs: /calico-enterprise/next/observability/elastic/archive-storage
  • Configure resource requests and limits: /calico-enterprise/next/reference/component-resources/configure-resources
  • Log collection overview: /calico-enterprise/next/observability/elastic/overview

The Calico Cloud twins of these pages carry the same changes, so one product is enough for the repeated renames.

Issue: https://tigera.atlassian.net/browse/DOCS-3028

hjiawei and others added 4 commits September 3, 2026 16:31
…-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>
The operator now folds a user-supplied CA from a splunk-ca ConfigMap
into the log collector's trusted bundle, the same way syslog-ca works
for syslog, so Splunk HEC endpoints with self-signed certificates can
be used. Add the step to the Splunk archiving instructions and a
release-note line.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Move the Fluentd filter migration into a Before you begin section on both
filtering pages, so a reader who already has filters sees it before the task
rather than after logs go missing. Name the command that surfaces the operator
warning, and note that filters apply to Linux nodes only.

List the four filters the log collector ships as an exhaustive set, and link
each one, so a reader does not write a filter the image cannot load.

Document the operational detail on the pages that own it: filesystem buffering
and its per-destination caps in the log collection overview, the S3 object key
layout and the syslog packet-size default in Archive logs, and the deprecated
override field and container-name aliases in Configure resource requests and
limits.
Use the ConfigMap and DaemonSet spellings Vale expects, and put the resource
and field names in the private-CA steps into code formatting. The syslog step
gets the same treatment as the new Splunk step beside it, so the two adjacent
steps read the same way.
@ctauchen
ctauchen requested a review from a team as a code owner September 3, 2026 15:48
Copilot AI lite review requested due to automatic review settings September 3, 2026 15:48
@netlify

netlify Bot commented Sep 3, 2026

Copy link
Copy Markdown

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

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

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

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

@netlify

netlify Bot commented Sep 3, 2026

Copy link
Copy Markdown

Deploy Preview succeeded!

Built without sensitive environment variables

Name Link
🔨 Latest commit dcfee3c
🔍 Latest deploy log https://app.netlify.com/projects/tigera/deploys/6a9996ca6696f100086d05b7
😎 Deploy Preview https://deploy-preview-3004--tigera.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 90 (🔴 down 5 from production)
Accessibility: 98 (no change from production)
Best Practices: 92 (no change from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports
🤖 Make changes Run an agent on this branch

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

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.

🟡 Changes recommended

A few documentation details are misleading/unclear (notably link text vs. anchor targets and note wording) and should be corrected to avoid confusing readers during the Fluentd → Fluent Bit transition.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Updates Calico Enterprise and Calico Cloud next documentation to reflect the migration from the Fluentd log collector to Fluent Bit (calico-fluent-bit in calico-system), aligning examples, component names, metrics/alerts, and operational procedures with the new collector.

Changes:

  • Rewrites flow/DNS log filtering docs from Fluentd <filter> syntax to Fluent Bit YAML filter lists and renames the filters ConfigMap to fluent-bit-filters.
  • Updates Prometheus/BYO Prometheus and metrics pages for Fluent Bit (HTTP metrics endpoint on port 2020, updated alert metrics and names).
  • Sweeps related docs to reflect namespace/resource/secret/pod renames and updated operational procedures (diags, packet capture retrieval, architecture).
File summaries
File Description
calico-enterprise/reference/component-resources/configure-resources.mdx Updates LogCollector override examples and verification commands for calico-fluent-bit/calico-system, including alias/deprecation notes.
calico-enterprise/reference/clis/calicoctl/cluster/diags.mdx Updates sample calicoctl diags output to show Fluent Bit pods in calico-system.
calico-enterprise/reference/architecture/overview.mdx Renames Fluentd section to Fluent Bit and adjusts related component descriptions/formatting.
calico-enterprise/operations/monitor/prometheus/byo-prometheus.mdx Updates BYO Prometheus instructions for Fluent Bit metrics scraping (HTTP endpoint, new ServiceMonitor name, network policy note).
calico-enterprise/operations/monitor/metrics/elasticsearch-and-fluentd-metrics.mdx Retitles and updates metrics/alerts from Fluentd to Fluent Bit, including new alert and metric names.
calico-enterprise/operations/license-options.mdx Updates license-expiration behavior wording to reference Fluent Bit scaling down.
calico-enterprise/operations/comms/index.mdx Updates secret table (notably calico-fluent-bit-tls) and formats owner references consistently.
calico-enterprise/observability/review-unused-network-policies.mdx Updates unused-policy examples for the new Fluent Bit policy/namespace.
calico-enterprise/observability/packetcapture.mdx Updates packet capture retrieval steps to use calico-system/calico-node pods and Kubernetes resource name casing.
calico-enterprise/observability/kube-audit.mdx Updates audit-log instructions to reference the Fluent Bit log collector.
calico-enterprise/observability/elastic/overview.mdx Updates default log collector description to Fluent Bit and documents filesystem buffering behavior/caps.
calico-enterprise/observability/elastic/flow/filtering.mdx Adds “Before you begin” migration guidance and rewrites filter examples for Fluent Bit YAML.
calico-enterprise/observability/elastic/dns/filtering-dns.mdx Adds “Before you begin” migration guidance and rewrites DNS filter examples for Fluent Bit YAML.
calico-enterprise/observability/elastic/archive-storage.mdx Documents S3 key layout changes, syslog defaults, and adds Splunk private-CA ConfigMap step.
calico-enterprise/_includes/content/_default-install.mdx Updates default install summary to reference Fluent Bit log collection.
calico-enterprise/_includes/components/ReqsSys.js Updates requirements table wording to remove Fluentd datastore reference.
calico-cloud/reference/component-resources/configure-resources.mdx Mirrors LogCollector override example updates for Cloud docs.
calico-cloud/operations/monitor/prometheus/byo-prometheus.mdx Mirrors BYO Prometheus Fluent Bit updates for Cloud docs.
calico-cloud/operations/monitor/metrics/elasticsearch-and-fluentd-metrics.mdx Mirrors Fluent Bit metrics/alerts updates for Cloud docs.
calico-cloud/operations/comms/index.mdx Updates secret table (notably calico-fluent-bit-tls) and formats owner references consistently.
calico-cloud/observability/packetcapture.mdx Mirrors packet capture retrieval updates for Cloud docs.
calico-cloud/observability/kube-audit.mdx Mirrors audit-log wording update for Cloud docs.
calico-cloud/observability/elastic/overview.mdx Mirrors Fluent Bit default collector + buffering behavior documentation for Cloud docs.
calico-cloud/observability/elastic/flow/filtering.mdx Mirrors Fluent Bit flow filtering migration guidance and YAML examples for Cloud docs.
calico-cloud/observability/elastic/dns/filtering-dns.mdx Mirrors Fluent Bit DNS filtering migration guidance and YAML examples for Cloud docs.
calico-cloud/observability/elastic/archive-storage.mdx Mirrors S3 key layout and syslog default packet size updates for Cloud docs.
calico-cloud/get-started/operator-checklist.mdx Updates troubleshooting/checklist examples for Fluent Bit pods/namespaces and related terminology.
calico-cloud/get-started/cc-arch-diagram.mdx Updates architecture diagram table to replace Fluentd with Fluent Bit and updates associated ports.
calico-cloud/_includes/components/ReqsSys.js Updates requirements table wording to remove Fluentd datastore reference.
Review details
  • Files reviewed: 29/29 changed files
  • Comments generated: 3
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +553 to +557
The [LogCollector](../../reference/installation/api.mdx#logcollector) CR provides a way to configure resources for CalicoFluentBitDaemonSet, EKSLogForwarderDeployment.

### FluentdDaemonSet.
### 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#logcollector), patch the LogCollector CR using the below command:
Comment on lines +238 to +242
:::note

Skip this step if publicCA bundle is good enough to verify the server certificates.

:::
Comment on lines +586 to +590
The [LogCollector](../../reference/installation/api.mdx#logcollector) CR provides a way to configure resources for CalicoFluentBitDaemonSet, EKSLogForwarderDeployment.

### FluentdDaemonSet.
### 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#logcollector), patch the LogCollector CR using the below command:
@ctauchen
ctauchen merged commit 970c8e2 into tigera:main Sep 4, 2026
11 checks passed
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.

3 participants