Tue, 16 Apr, 2024

Logging in 01Cloud

Logging in 01Cloud

01Cloud integrates external logger to store the logs from the specific application to the preferred output provider. 01Cloud automatically configures the logging solutions for selected providers, reducing the complexity of manual setup. By providing required credentials the logs can be automatically stored and managed in the various output providers.

Architecture:

Architecture Diagram

External Logger Architecture:

  • 01Cloud collects logs from the application and passes them to the preferred destination.
  • Users create the environment and enable logging.
  • After logging is enabled, the logs of a specific application are passed to 01Cloud logging.
  • Here, the logs are configured and passed to the destination provided by the user where the logs from the specific application are stored and managed.

Components:

External logger is the log collector and forwarder of 01Cloud. It consists of logging operators that deploy and configure a log collector (currently a Fluent Bit DaemonSet) on every node to collect container and application logs from the node file system.

The log forwarder instance receives, filters, and transforms the incoming logs, and transfers them to one or more destination outputs. External logger consists of three parts that control the logging cycle.

Logging:

The logging resource defines the logging infrastructure (the log collectors and forwarders) for your cluster that collects and transports your log messages. It also contains configurations for Fluent Bit, Fluentd.