[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

xidiandb/fluent-plugin-k8s

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fluent-plugin-k8sGem Version

Fluent plugin for get simple metadata of k8s

Installation

Install it yourself as:

$ gem install fluent-plugin-k8s

Configuration

<filter **>
  @type k8s
</filter>

Usage

<source>
  @type file
  path /var/log/containers/*.log
  tag raw.kubernetes.**
</source>

<filter raw.kubernetes.**>
  @type k8s
</filter>

<match **>
  @type stdout
</match>

The k8S you can get include POD name, namespace, Container name, and dockerId.

{
"pod_name": "influxdb-1",
"namespace_name": "monitoring",
"container_name": "influxdb"
}

About

fluent plugin that get simple k8s metadata

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages