Skip to content

clear-code/fluent-plugin-in_exec-extended-to-handle-non-ascii

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fluent-plugin-in_exec-extended-to-handle-non-ascii

A Fluentd input plugin extended built-in in_exec to handle non-ASCII characters.

This REPLACES the built-in in_exec plugin and allows the collection of non-ASCII characters.

The code is the same as proposed in fluent/fluentd#4533. If it is merged and released, it is recommended to update Fluentd and use the latest built-in in_exec. If you can't update Fluentd for some reason, you can use this to replace the build-in in_exec.

Installation

RubyGems

$ gem install fluent-plugin-in_exec-extended-to-handle-non-ascii

Bundler

Add following line to your Gemfile:

gem "fluent-plugin-in_exec-extended-to-handle-non-ascii"

And then execute:

$ bundle

Configuration

Sample config:

<source>
  @type exec
  tag test
  command "echo こんにちは、世界"
  encoding utf-8
  <parse>
    @type none
  </parse>
</source>

<match test>
  @type stdout
</match>

Copyright

  • Copyright(c) 2024 Fluentd Authors, Daijiro Fukuda
  • License
    • Apache License, Version 2.0

About

A Fluentd plugin extended built-in in_exec to handle non-ASCII characters.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages