Giter Club home page Giter Club logo

fluent-plugin-rename-key's People

Contributors

bitdeli-chef avatar cosmo0920 avatar kiyoto avatar konstantin-kornienko avatar okkez avatar perrin4869 avatar pichouk avatar repeatedly avatar shunwen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

fluent-plugin-rename-key's Issues

Not able to find plugin

I installed the plugin. But when I try to use it, fluentd won't start up. Any ideas? I tried both gem install and td-agent-gem install

sudo td-agent-gem install fluent-plugin-rename-key
Successfully installed fluent-plugin-rename-key-0.2.0
Parsing documentation for fluent-plugin-rename-key-0.2.0
Done installing documentation for fluent-plugin-rename-key after 0 seconds
1 gem installed

Done installing documentation for msgpack, yajl-ruby, cool.io, sigdump, serverengine, http_parser.rb, thread_safe, tzinfo, tzinfo-data, strptime, fluentd, fluent-plugin-rename-key after 9 seconds
12 gems installed

When starting up td-agent, I get the following error

2016-07-14 17:47:42 +0000 [info]: adding filter pattern=".*" type="rename_key"
2016-07-14 17:47:42 +0000 [error]: config error file="/etc/td-agent/td-agent.conf" error="Unknown filter plugin 'rename_key'. Run 'gem search -rd fluent-plugin' to find plugins"

It is a problem if I use it as a filter but works if I use it as a match. I need to combine it with another match. Any ideas on how to do this?

<match *.**>
type rename_key
#remove_tag_prefix input.test
#append_tag renamed
rename_rule1 . _

The following doesn't work

<filter *.**>
type rename_key
#remove_tag_prefix input.test
#append_tag renamed
rename_rule1 . _

How to delete special characters?

If I want to delete special characters, what is the easiest way to do it using this tool?

for example, I want to replicate the sed functionality of:

s/[^0-1a-zA-Z_]//g

that is, all characters that are not (alphanumeric and underscore) are removed //

I thought of a few ways, but the trouble is that the good stuff, the content we want to keep, would appear in an unknown number of placeholders ${md[1]} , ${md[2]}, ${md[3]}. ... I cannot see how to join these.

In Ruby, this would be like:
"myKey".gsub(/[^0-1a-zA-Z_]/, "")

Any help is appreciated!

Thanks!

Jeff

Project Dead?

Hi,

just wondering what the current maintenance state of this project is.

It seems rather useful to circumvent Kibana's _-prefix restriction when dealing with systemd/docker/gelf/kubernetes logs.

Fix gem build warnings

WARNING:  open-ended dependency on fluentd (>= 0) is not recommended
  if fluentd is semantically versioned, use:
    add_runtime_dependency 'fluentd', '~> 0'
WARNING:  open-ended dependency on test-unit (>= 3.1.0, development) is not recommended
  if test-unit is semantically versioned, use:
    add_development_dependency 'test-unit', '~> 3.1', '>= 3.1.0'
WARNING:  open-ended dependency on rake (>= 0, development) is not recommended
  if rake is semantically versioned, use:
    add_development_dependency 'rake', '~> 0'
WARNING:  open-ended dependency on coveralls (>= 0, development) is not recommended
  if coveralls is semantically versioned, use:
    add_development_dependency 'coveralls', '~> 0'
WARNING:  See http://guides.rubygems.org/specification-reference/ for help
  Successfully built RubyGem
  Name: fluent-plugin-rename-key
  Version: 0.2.0
  File: fluent-plugin-rename-key-0.2.0.gem

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.