Skip to content

cahartma/cluster-logging-operator

 
 

Repository files navigation

Cluster Logging Operator

An operator to support log collection and forwarding on OpenShift clusters. Cluster logging configuration information is found in the configuration documentation. This operator is solely responsible for configuring log collection and forwarding. It works in conjunction with the deployment of a LokiStack via the loki-operator. The loki-operator is responsible for log storage.

Overview

The Cluster Logging Operator (CLO) provides a set of APIs to control collection and forwarding of logs from all pods and nodes in a cluster. This includes application logs (from regular pods), infrastructure logs (from system pods and node logs), and audit logs (special node logs with legal/security implications)

The CLO deploys:

  • A log collector/forwarder (current implimentation is Vector)

and relies upon:

The goal is to abstract away the deployment and configuration of these technologies behind APIs so that:

  • A user has a simplified logging experience

  • A user has less to learn

  • Technologies can be replaced in the future without affecting the user experience.

The CLO can also forward logs over multiple protocols, to multiple types of log stores, on- or off-cluster

The CLO owns the following APIs:

  • ClusterLogForwarder: Configure forwarding of logs to external sources

  • LogFileMetricsExporter: Configure deployment of a component to monitor the volume of logs generated by container workloads

Getting Started

  • To install a released version of cluster logging see the Openshift Logging Documentation

  • To experiment or contribute to the development of cluster logging, see the hacking and review documentation

  • To debug the cluster logging stack, see README.md

  • To find currently known Cluster Logging Operator issues with work-arounds, see the Troubleshooting guide.

About

Operator to support OKD cluster logging

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 85.5%
  • Shell 13.0%
  • Other 1.5%