banzaicloud/logging-operator

By banzaicloud

Updated over 3 years ago

Logging operator for Kubernetes based on Fluentd and Fluent-bit

Image
1

1M+

banzaicloud/logging-operator repository overview

Docker Automated build Docker Pulls CircleCI Go Report Card license

logging-operator v2

Logging operator for Kubernetes based on Fluentd and Fluent-bit.

What is this operator for?

This operator helps you to pack together logging information with your applications. With the help of Custom Resource Definition you can describe the behaviour of your application within its charts. The operator does the rest.

Feature highlights
  • Namespace isolation
  • Native Kubernetes label selectors
  • Secure communication (TLS)
  • Configuration validation
  • Multiple flow support (multiply logs for different transformations)
  • Multiple output support (store the same logs in multiple storage: S3, GCS, ES, Loki and more...)
  • Multiple logging system support (multiple fluentd, fluent-bit deployment on the same cluster)
Motivation

The logging operator automates the deployment and configuration of a Kubernetes logging pipeline. Under the hood the operator configures a fluent-bit daemonset for collecting container logs from the node file system. Fluent-bit enriches the logs with Kubernetes metadata and transfers them to fluentd. Fluentd receives, filters and transfer logs to multiple outputs. Your logs will always be transferred on authenticated and encrypted channels.

Blogs
Blogs (general logging and operator v1)

Logging-operator is a core part of the Pipeline platform, a Cloud Native application and devops platform that natively supports multi- and hybrid-cloud deployments with multiple authentication backends. Check out the developer beta:

Architecture

Available custom resources:

  • logging - Represents a logging system. Includes Fluentd and Fluent-bit configuration. Specifies the controlNamespace. Fluentd and Fluent-bit will be deployed in the controlNamespace
  • output - Defines an Output for a logging flow. This is a namespaced resource.
  • flow - Defines a logging flow with filters and outputs. You can specify selectors to filter logs by labels. Outputs can be output or clusteroutput. This is a namespaced resource.
  • clusteroutput - Defines an output without namespace restriction. Only effective in controlNamespace.
  • clusterflow - Defines a logging flow without namespace restriction.

The detailed CRD documentation can be found here.

connection between custom resources


Contents


Supported Plugins

For complete list of supported plugins please check the plugins index.

NameTypeDescriptionStatusVersion
AlibabaOutputStore logs the Alibaba Cloud Object Storage ServiceGA0.0.1
Amazon S3OutputStore logs in Amazon S3GA1.1.11
AzureOutputStore logs in Azure StoregaGA0.1.0
Google StorageOutputStore logs in Google Cloud StorageGA0.4.0
Grafana LokiOutputTransfer logs to LokiTesting0.2
ElasticSearchOutputSend your logs to ElasticsearchGA3.5.5
SumologicOutputSend your logs to SumologicGA1.5.0
KafkaOutputSend your logs to KafkaGA0.12.0
Tag NormaliserParserNormalise tags for outputsGA
ParserParserParse logs with parser pluginGA

Troubleshooting

If you encounter any problems that the documentation does not address, please file an issue or talk to us on the Banzai Cloud Slack channel #logging-operator.

Contributing

If you find this project useful here's how you can help:

  • Send a pull request with your new features and bug fixes
  • Help new users with issues they may encounter
  • Support the development of this project and star this repo!

For more information please read the developer documentation

License

Copyright (c) 2017-2019 Banzai Cloud, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Tag summary

Content type

Image

Digest

sha256:0de1cfb98

Size

23.4 MB

Last updated

over 3 years ago

docker pull banzaicloud/logging-operator