Shipping OX App Suite logs to Graylog with Fluent Bit

Plan how OX App Suite middleware logs leave logback, pass through Fluent Bit on Kubernetes and land in Graylog, with the storage sizing, access and retention decisions made before go-live.

On this page

How to ship OX App Suite logs to Graylog with Fluent Bit

To ship OX App Suite logs to Graylog, run the middleware's logback output into Fluent Bit on your Kubernetes cluster, forward the records to Graylog, and search them there. This is the logging stack Open-Xchange recommends, and it suits a v8 deployment that needs central, searchable logs for incident response and audit evidence. Each component has one job: logback writes structured middleware output, Fluent Bit collects container logs from each pod and forwards them, and Graylog indexes, stores and searches them. Teams usually need this once several middleware pods are running and no single node's log file shows the full picture of a login failure, a mail delivery problem or a configuration change.

Before you build it, decide where Graylog will run and how long logs must be kept. Graylog stores log data in its own search backend, so the storage plan, retention and index rotation settings are sizing decisions, not afterthoughts. The Graylog system architecture guidance suggests sizing storage as daily ingest multiplied by retention days and then by 120 percent, so ask your team to measure real daily volume from a test environment first. Also decide who may search audit-relevant logs, because log content can include user identifiers and session context that fall under your data protection rules.

The exact logback and Fluent Bit configuration changes between releases, so confirm the appropriate settings against current Open-Xchange documentation for your release before you copy any file into a cluster. Test the pipeline in a lab first, send a known test event through each layer, and confirm that the timestamps, host fields and pod identifiers arrive in Graylog intact. Check the Graylog pricing page when you plan the search tier, since Graylog Open and the paid editions differ in support, data lake and security features. Also check the Graylog license terms with your legal team, because Graylog Open is not under an OSI-approved license.

Log flow from OX App Suite pods to Graylog

The flow starts in the OX middleware pods, which write logback output that the container runtime keeps as log files on each node. A Fluent Bit DaemonSet runs on every node, reads those files and forwards the events over the network to a load balancer in the log platform. The load balancer spreads traffic across Graylog server nodes, which write the events into Data Node indices. The cluster boundary is the hop to check: confirm which side owns TLS, authentication to the log input and the network rules that allow the traffic through.

Log path from middleware pods to Graylog storage, with the trust boundary marked.

Which Graylog deployment fits which environment

A single Graylog server with its own MongoDB and search backend suits a proof of concept, a lab or a small environment where losing the log pipeline for a few hours would not affect operations. It lets the team validate the Fluent Bit output, parsing, streams and dashboards before committing to more hardware. The trade-off is that every component is a single point of failure, and storage and search capacity are limited by one machine.

  • Failure impact: one server restart stops ingestion, and the message journal is the only buffer while it is down.
  • Sizing: plan storage from daily ingest, retention in days and a 120 percent headroom factor, as the Graylog system architecture page advises.
  • Upgrades: a single node is the simplest to stage, snapshot and roll back.
  • Growth path: keep the Fluent Bit configuration and index settings portable so the same pipeline can move to a cluster later.

Before you rely on a single node, confirm the expected daily log volume and the retention your audit or security team requires.

Choosing the Graylog license tier and search backend

This table compares Graylog Open, Enterprise and Security on the features named in the researched pricing and product material, then sets out the Data Node versus self-managed OpenSearch decision. Read the licensing basis row first, because it determines whether your daily log volume puts you in a paid tier before you choose features.

Decision pointGraylog OpenGraylog Enterprise and Security
Price basisFree with no volume limits and community supportLicensed on processed data, starting at 15,000 USD per year (Enterprise) and 18,000 USD per year (Security), per the Graylog pricing page
Minimum commitmentNone stated for OpenMinimum of 10 GB per day or 100 Graylog Compute Units, per the Graylog pricing page
Per-user or per-device feesNoneNone, licensing is on processed data only
Inputs, streams and pipelinesSyslog, GELF and Beats inputs with streams and processing pipelinesSame core ingestion features; confirm the current list for your version
AlertingEvent definitions with notifications to PagerDuty, Slack and emailAdds a correlation engine (Enterprise) and SIEM detections such as risk scoring and anomaly detection (Security)
Archive and tieringIndex rotation and retention that deletes the oldest indicesAdds a data lake with archive restore and data tiering (Enterprise)
SupportCommunity support24/7 support (Enterprise); confirm the support level in your order form
Search backend: Data NodeGraylog recommends Data Node as the search backendConfirm the Data Node version that matches your Graylog release before you size the cluster
Search backend: self-managed OpenSearchSupported within the compatibility matrix for your Graylog versionGraylog Security requires OpenSearch 2.0 or later; OpenSearch 1.x is deprecated since Graylog 7.0 and will be removed in Graylog 8.0

Setting up the Fluent Bit to Graylog path

This sequence connects logback output from the OX middleware to Graylog through Fluent Bit, so each log event arrives with its fields intact and lands in a stream with predictable retention. Each step ends with a check you can run before moving on.

  1. Confirm the logback output format and location

    The platform team and the OX operator review the logback configuration shipped with the middleware and record the output format, the file paths or stdout streams each middleware pod writes to, and the fields present in each line. Confirm with Open-Xchange which logback appender and pattern your release uses, and whether the Helm values expose a setting to change it. Done when you have a sample of several real log lines from each middleware role, saved with the exact pattern, and you can say which field carries the timestamp, level, logger name and message.

  2. Deploy Fluent Bit as a DaemonSet with field-preserving parsers

    The platform team deploys Fluent Bit as a DaemonSet so every node tails container logs from the middleware pods. Write a parser that matches the logback pattern confirmed in the previous step, and set the parser to keep the timestamp, level and logger fields as separate keys rather than folding them into the message. Restrict the input to the OX namespace and tag records so they can be routed later. Done when a test pod's log lines appear in Fluent Bit's stdout output as structured records with each field populated, and malformed lines are visible as a separate tag instead of being dropped silently.

  3. Create a Graylog input matching the chosen protocol

    In Graylog, an administrator creates an input that matches the protocol Fluent Bit sends, such as GELF over TCP or UDP, or a syslog input, and binds it to an address reachable from the cluster network. Restrict the bind address and allowed sources where the input type supports it, and enable TLS if your security policy requires encrypted transport between the nodes. Confirm the input is running on every Graylog node that should accept traffic. Done when the input shows as running in the system overview and a test message sent with the same protocol is received in the input's message count.

  4. Point Fluent Bit output at the Graylog input

    The platform team adds a Fluent Bit output for the OX tag that targets the Graylog input address and port, and sets the output to send the structured fields as Graylog message fields rather than a single text blob. Use the Graylog load balancer address where the multi-node guide recommends one, so Fluent Bit does not depend on a single server. Done when Fluent Bit reports successful sends with no retry loop in its logs, and the input's received message count rises as OX traffic is generated.

  5. Define a stream and pipeline for OX logs

    A Graylog administrator creates a stream that matches the Fluent Bit tag or source field for OX App Suite, so OX events are separated from other sources. Add a processing pipeline to that stream to extract or normalize fields such as log level and logger name, using the names confirmed in step one. Give the stream a clear title and owner, and restrict its access to the teams that need it. Done when a sample of recent OX messages shows up only in the OX stream, and the pipeline rule shows matches on the expected fields in the message detail view.

  6. Set index rotation and retention for the OX stream

    The Graylog administrator assigns the OX stream to an index set with rotation and retention settings chosen from the organization's retention policy. Index rotation can be triggered by message count, size or time, and retention deletes the oldest indices when the limit is reached, so confirm which trigger fits the expected daily volume. Size the storage using the daily ingest multiplied by retention days and by 120 percent, as the Graylog system architecture page advises, and confirm the message journal allocation on SSDs. Done when the index set shows the chosen rotation and retention values, and a capacity estimate has been written down and reviewed.

  7. Verify end to end with a known log event

    The OX operator triggers a uniquely marked, harmless action in a test context, such as a login with a known test account, or writes a message the middleware logs at a known level, and notes the time and the marker string. Then search Graylog for that marker within the OX stream and the expected time window. Check that the timestamp, level and logger fields match what was written in the logback output from step one. Done when the search returns the event with all fields intact, and the same test passes after a Fluent Bit pod restart and a Graylog node restart.

Sizing Graylog storage for OX log volume

Size Graylog storage from the daily log volume your OX App Suite pods actually produce, not from a guess. Graylog's system architecture guidance gives a starting formula: daily ingest multiplied by retention days multiplied by 120 percent, which leaves headroom for index overhead. The daily ingest figure is the number you have to measure yourself. Run Fluent Bit with the production logback configuration in a pilot for at least one full business cycle, including a peak day such as month-end mail traffic, and record the bytes per day that reach Graylog. Multiply the busiest observed day by your target retention, not the average, and confirm the result with your Graylog administrator before you order disks or cloud volumes. Do not reuse volume figures from another OX deployment, because middleware logging depth, user count and enabled modules all change the output.

The message journal needs its own budget. Graylog's architecture page advises giving the journal 3 to 5 times daily ingest on SSDs, so that messages survive a short period when the search backend is slow or unavailable. Plan this on the Graylog server nodes, separately from index storage, and confirm the exact journal sizing and disk placement against the current Graylog documentation for your release. In a multi-node layout, each Graylog node holds its own journal, so size them per node and check that a node failure does not leave the remaining nodes short.

Index rotation and retention decide what is kept and for how long, and they are the controls auditors and incident responders will ask about. Graylog rotates indices by message count, size or time, and retention deletes the oldest indices once the configured limit is reached. Choose the rotation strategy and retention period together, and write them down with the log categories they apply to. Security-relevant authentication and administrative events may need a different retention than debug output from the middleware, so consider separate index sets rather than one policy for everything. Test retention once in the pilot by confirming that the oldest index is deleted when expected and that searches over the retained window still return results.

Protecting log data and access in transit and at rest

Logs from the OX App Suite middleware can carry user identifiers, addresses, and occasionally credentials, so the path from Fluent Bit to Graylog and the storage behind it need the same care as the mail data itself. The six areas below cover transport, access, content, storage backends, retention, and separation from the mail data plane.

TLS on the Fluent Bit to Graylog path

Log lines leave the Kubernetes cluster over the network before they reach Graylog, and a GELF or syslog input without TLS sends them in clear text. Decide which inputs will accept encrypted connections, issue certificates for them, and confirm that Fluent Bit's output configuration validates the Graylog server certificate. Test by capturing traffic between the cluster and the Graylog nodes and confirming that no message content is readable. Confirm input TLS options in your Graylog version, since they vary by input type.

Graylog auth docs

Least-privilege Graylog roles and authentication

Graylog users receive permissions through roles, so a team that only reads one application's logs should not hold rights to streams, inputs or user administration. Map each team to a role that limits streams and dashboards, remove shared accounts, and confirm how the built-in admin account is secured and whether directory-based login is configured. Review role membership on a fixed schedule and after staff changes.

User authentication docs

Filtering personal data and credentials

Mail middleware logs can include email addresses, session details, and parameters that should never be stored in search indices. Use Graylog processing pipelines or Fluent Bit filters to drop or mask these fields before the data is indexed, and test the rules against sample lines from your own environment. Ask Open-Xchange which log levels and categories are likely to contain personal data in your version, and document the masking rules as part of your processing record.

MongoDB and OpenSearch access controls

Graylog keeps configuration and metadata in MongoDB and stores log data in Data Node or OpenSearch, and each backend is a second place where log content can be read. Restrict network access to these services to Graylog nodes only, enable authentication on both, and use separate credentials for each service. Confirm that the OpenSearch or Data Node security features in your chosen version are enabled before loading production logs.

Retention aligned with organizational policy

Index retention in Graylog deletes the oldest indices once a limit is reached, so retention is set by index rotation and count rather than by a single toggle. Start from the retention period your data protection and security policies set for application logs, then size storage to hold that period. Check whether any legal hold or audit requirement needs longer retention for specific streams, and route those streams to separate index sets.

Index model docs

Separation from the mail data plane

The log platform should not share hosts, namespaces, storage volumes or service accounts with the mail data plane that holds OX App Suite mailboxes, Redis, MariaDB and persistent files. Place Graylog and its backends in their own network segment, grant Fluent Bit only the permissions it needs to read pod logs, and confirm that a compromise of the log stack cannot reach mailbox storage. Record this boundary in the architecture document so auditors can verify it.

Questions teams ask before shipping OX logs to Graylog

What does shipping OX logs to Graylog cost, and what drives the price?

The cost has three parts: the people doing the work, the Graylog software tier, and the infrastructure that runs Graylog and stores logs. Graylog Open is free with no volume limits and community support. Graylog Enterprise starts at 15,000 US dollars per year and Graylog Security starts at 18,000 US dollars per year, per the Graylog pricing page, and both carry a minimum of 10 GB per day or 100 Graylog Compute Units. Storage and node count scale with daily ingest and retention. The Graylog system architecture page advises sizing storage as daily ingest times retention days times 120 percent. Ask any provider for a quote built from your daily log volume, retention period, node count and whether you need Enterprise or Security features. DeployOpen issues quotes from a written scope, not a price list.

How long does a Graylog pilot take, and what sets the timeline?

The timeline depends on how many environments are in scope, how many log sources need parsing, and how quickly your platform team can grant cluster access. A single-environment pilot with Fluent Bit collecting from the OX middleware pods is the smallest useful step. The work grows when you add multi-node Graylog, a separate Data Node cluster, load balancing, SSO for Graylog users, or alert routing to PagerDuty, Slack or email. Confirm the duration in a written scope. DeployOpen agrees scope, deliverables and timelines in writing before work starts.

What must our internal team provide before the engagement starts?

Expect to provide four things. First, access to the Kubernetes cluster where OX App Suite runs, with rights to deploy a log collector as a DaemonSet or sidecar and to read pod logs. Second, a place to run Graylog, such as virtual machines or a Kubernetes namespace, plus the storage for indices and the message journal, which Graylog recommends on SSDs. Third, a written log policy that states what is logged, what must be masked, and how long each stream is kept. Fourth, a named owner for alert destinations and for approving changes to retention. Missing any of these usually moves the timeline more than the technical work does.

Can our own team build this without a partner?

Yes, if your team already runs Kubernetes, understands logback output from Java services, and has operated a search backend. The main skills are Fluent Bit configuration, Graylog inputs, streams and processing pipelines, index rotation and retention, and event definitions for alerts. Graylog's multi-node guide asks for three Graylog and MongoDB nodes, three Data Nodes and a load balancer for medium to large deployments, so plan operations time for patching and capacity. A partner is useful when you want the build sequence, verification and runbooks delivered in a fixed scope, or when you lack capacity for the first rollout. Your team keeps ownership either way.

Which Graylog version should we choose for a new deployment?

Choose the current major line that your compatibility checks support, and do not start new work on a version that is out of step with your search backend. The Graylog documentation covers version 7.2, and the compatibility matrix lists MongoDB 7.x up to 8.2.x and OpenSearch from 1.1.x up to 3.7.x for Graylog 7.0 to 7.2. Graylog recommends Data Node as the search backend, and use of OpenSearch 1.x has been deprecated since Graylog 7.0 and will be removed in Graylog 8.0. Check the compatibility matrix and the GitHub tags for the exact patch release before you install, and confirm the choice with Graylog support if you rely on Graylog Security, which needs OpenSearch 2.0 or later.

Is Graylog Open enough for our alerting needs?

Graylog Open covers event definitions for real-time and historical monitoring, and its product page lists notifications to PagerDuty, Slack and email. That is enough for many teams that need a few clear alerts on OX errors, failed logins or middleware restarts. Look at the gaps before you rely on it. Graylog Enterprise adds a correlation engine and 24/7 support, and Graylog Security adds risk scoring, anomaly detection, investigations and prebuilt threat detection content. Also confirm that Open meets your support expectations, since community support is the only support listed for Open. Test each alert route end to end during the pilot.

What changes after go-live, and who maintains the pipeline?

After go-live, the work shifts to operations. Someone must review index rotation and retention, which deletes the oldest indices under the rules you set, and check that storage keeps pace with ingest. The Fluent Bit configuration changes whenever OX releases change log formats or when new services are added. Graylog upgrades need compatibility checks against MongoDB and OpenSearch or Data Node, and OX upgrades may change log output, so retest parsing after each. Agree who owns each of these tasks, how often reviews happen, and whether the work sits with your team, a retainer or both. DeployOpen offers ongoing support and upgrades as retainers.

How DeployOpen scopes and delivers OX log shipping

DeployOpen plans, builds and documents the path from OX App Suite middleware logback output through Fluent Bit on Kubernetes into Graylog, inside infrastructure you control. The engagement is fixed-scope, so the log sources, storage sizing, retention and access model are agreed in writing before any configuration changes.

How we scope

  • We confirm which OX App Suite middleware nodes and log categories are in scope for shipping.
  • We agree the Graylog deployment model, MongoDB and OpenSearch or Data Node backend, and where each runs.
  • We document retention periods, index rotation settings and daily ingest estimates your team provides, in the written scope.

How we build

  • We configure logback output on the middleware and verify the log format before collection is added.
  • We deploy and tune Fluent Bit on your Kubernetes cluster, including parsing, buffering and TLS to Graylog inputs.
  • We set up Graylog streams, processing pipelines, dashboards and event definitions for the alerts your team agrees on.

How we hand over

  • We test end-to-end delivery with sample log events and document how each check was verified.
  • We provide configuration files, runbooks and an architecture note covering sizing assumptions and failure behavior.
  • We walk your platform and security teams through search, retention, access roles and alert routing before handover.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer after handover.
  • Retainer work can cover Fluent Bit and Graylog version changes, including checks against the Graylog compatibility matrix.
  • We can re-test log delivery and access controls after changes to the cluster, identity setup or retention policy.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.