Skip to main content
Redhat Developers  Logo
  • Products

    Platforms

    • Red Hat Enterprise Linux
      Red Hat Enterprise Linux Icon
    • Red Hat AI
      Red Hat AI
    • Red Hat OpenShift
      Openshift icon
    • Red Hat Ansible Automation Platform
      Ansible icon
    • View All Red Hat Products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat Developer Hub
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat OpenShift Local
    • Red Hat Developer Sandbox

      Try Red Hat products and technologies without setup or configuration fees for 30 days with this shared Openshift and Kubernetes cluster.
    • Try at no cost
  • Technologies

    Featured

    • AI/ML
      AI/ML Icon
    • Linux
      Linux Icon
    • Kubernetes
      Cloud icon
    • Automation
      Automation Icon showing arrows moving in a circle around a gear
    • View All Technologies
    • Programming Languages & Frameworks

      • Java
      • Python
      • JavaScript
    • System Design & Architecture

      • Red Hat architecture and design patterns
      • Microservices
      • Event-Driven Architecture
      • Databases
    • Developer Productivity

      • Developer productivity
      • Developer Tools
      • GitOps
    • Automated Data Processing

      • AI/ML
      • Data Science
      • Apache Kafka on Kubernetes
    • Platform Engineering

      • DevOps
      • DevSecOps
      • Ansible automation for applications and services
    • Secure Development & Architectures

      • Security
      • Secure coding
  • Learn

    Featured

    • Kubernetes & Cloud Native
      Openshift icon
    • Linux
      Rhel icon
    • Automation
      Ansible cloud icon
    • AI/ML
      AI/ML Icon
    • View All Learning Resources

    E-Books

    • GitOps Cookbook
    • Podman in Action
    • Kubernetes Operators
    • The Path to GitOps
    • View All E-books

    Cheat Sheets

    • Linux Commands
    • Bash Commands
    • Git
    • systemd Commands
    • View All Cheat Sheets

    Documentation

    • Product Documentation
    • API Catalog
    • Legacy Documentation
  • Developer Sandbox

    Developer Sandbox

    • Access Red Hat’s products and technologies without setup or configuration, and start developing quicker than ever before with our new, no-cost sandbox environments.
    • Explore Developer Sandbox

    Featured Developer Sandbox activities

    • Get started with your Developer Sandbox
    • OpenShift virtualization and application modernization using the Developer Sandbox
    • Explore all Developer Sandbox activities

    Ready to start developing apps?

    • Try at no cost
  • Blog
  • Events
  • Videos

How to migrate from Fluentd to Vector in OpenShift 4

September 4, 2025
Calvin Lee Jamie Parker
Related topics:
KubernetesObservability
Related products:
Red Hat OpenShift

Share:

    The objective of this article is to help clients migrate the default collector in Red Hat OpenShift 4 from Fluentd to Vector. Fluentd is deprecated in Logging 5.X versions. To utilize the latest features of Logging 6.0, it’s necessary to migrate to Vector from Fluentd. Test these changes in development and test environments and develop a plan for implementing these changes in production.

    What is Vector?

    Vector is a log collector and analyzer that streamlines the processing of distributed logs from any source to a single stream for real-time analysis. 

    For example, with Vector as a log collector, customers can send logs to an Amazon CloudWatch destination for further analysis. Additionally, customers can assemble log messages as a stack-trace in one single log entity using the JSON format.

    Why migrate to Vector?

    Vector draws inspiration from monitoring tools like StatsD and collectd, leveraging their instrumentation techniques to provide direct processing of JSON and StatsD formatted data without additional configuration or plugins.

    In addition, Fluentd is deprecated in Logging 5.X versions. To utilize the latest features of Logging 6.0, it’s necessary to migrate to Vector from Fluentd. This article is intended to be a guide for users to test these changes in their dev and test environments and develop a plan for implementing these changes in production.

    Migrate from Fluentd to Vector
    Wed, 09/03/2025 - 19:32
    ywilliam

    Migrate Fluentd to Vector in OpenShift

    The following describes how to migrate the OpenShift Logging collection service from Fluentd to Vector. Starting with OpenShift Logging 5.6, Vector replaces Fluentd as the default Collector. In Logging 5.6, Fluentd is deprecated and is planned to be removed in a future release. Red Hat will provide bug fixes and support for this feature during the current release lifecycle, but this feature will no longer receive enhancements and will be removed.

    Prerequisites:

    • Installed Red Hat OpenShift Logging Operator (current stable v5.5+)
    • Review features (supported and unsupported) comparison between Vector and Fluentd before performing a migration to Vector.

    Note:

    • To migrate default log store from Elasticsearch to Loki in Red Hat OpenShift Logging follow the article.
    • To migrate the collector from Fluentd to Vector reducing the number of logs duplicated follow the article

    Current stack

    Assuming the current stack looks like the below that represents basic log collection only. The config might vary regarding resources/nodes/tolerations/selectors.

    apiVersion: "logging.openshift.io/v1" kind: "ClusterLogging" metadata: name: "instance" namespace: "openshift-logging" spec: managementState: "Managed" collection: logs: type: "fluentd" fluentd: resources: limits: memory: 736Mi requests: cpu: 100m memory: 736Mi ----- Output Omitted -----

    Stack migrated to Vector

    Edit the clusterlogging instance custom resource to use vector as log collection type. Allocated resources can be customized as shown in below config. To configure CPU and memory limits for Vector, follow this article.

    $ oc edit clusterlogging instance -n openshift-logging apiVersion: "logging.openshift.io/v1" kind: "ClusterLogging" metadata: name: "instance" namespace: "openshift-logging" spec: managementState: "Managed" collection: type: vector ----- Output Omitted -----

    Summary

    This article is a guide for users to test changes in their dev and test environments and develop a plan for implementing these changes in production.

    Related Posts

    • Structured application logs in OpenShift

    • Implementing a Log Collector using Red Hat JBoss Fuse and Red Hat JBoss Data Grid

    • More for developers in the new Red Hat OpenShift 4.6 web console

    Recent Posts

    • How to enable Ansible Lightspeed intelligent assistant

    • Why some agentic AI developers are moving code from Python to Rust

    • Confidential VMs: The core of confidential containers

    • Benchmarking with GuideLLM in air-gapped OpenShift clusters

    • Run Qwen3-Next on vLLM with Red Hat AI: A step-by-step guide

    What’s up next?

    Operators make it easier to automate the lifecycle of complex, stateful programs by adding application-specific skills to a Kubernetes cluster. Read Kubernetes Operators for realistic examples that show you how Operators work and how to build them with the Operator Framework and SDK.

    Get the e-book
    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Products

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform

    Build

    • Developer Sandbox
    • Developer Tools
    • Interactive Tutorials
    • API Catalog

    Quicklinks

    • Learning Resources
    • E-books
    • Cheat Sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site Status Dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit
    © 2025 Red Hat

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility

    Report a website issue