Sha256: 4a0d650b3a40a9d08b0da613ce4b2f6f53bffa1c191d78477757e07a42822a81
Contents?: true
Size: 1.17 KB
Versions: 2
Compression:
Stored size: 1.17 KB
Contents
[![Build Status](https://travis-ci.com/Soluto/fluent-plugin-kubernetes-log-level.svg?branch=master)](https://travis-ci.com/Soluto/fluent-plugin-kubernetes-log-level) # fluent-plugin-kubernetes-log-level [Fluentd](https://fluentd.org/) filter plugin to filter messages according to log level This plugin allows setting a kubernetes label to your pods, and have fluentd filter logs containing a level value lower then the level indicated by the label. ## Installation ### RubyGems ``` $ gem install fluent-plugin-kubernetes-log-level ``` ### Bundler Add following line to your Gemfile: ```ruby gem "fluent-plugin-kubernetes-log-level" ``` And then execute: ``` $ bundle ``` ## Configuration Configuration options for fluent.conf are: * `log_level_label` - kubernetes label name for setting current log level * `log_level_key_label` - kubernetes label name for getting current log level from record * `default_log_level_key` - default key in log record to indicate the current record's level * `default_logging_level` - default logging levels for kubernetes services missing a `log_level_label` ## Copyright * Copyright(c) 2018- yaron-idan * License * Apache License, Version 2.0
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fluent-plugin-kubernetes-log-level-0.2.1 | README.md |
fluent-plugin-kubernetes-log-level-0.2.0 | README.md |