ruby on rails - fluentd, config agent-td send request to webservice -


i 'm new fluentd. wonder support send request in fluentd-agentd.

example: when fluent have new log (from apache/nginx/rails). want call request http body log text specify url (http://my_service.com/api/get_log)

is possible?

yes, it's possible. did simple test using following output plugin:

https://github.com/ento/fluent-plugin-out-http

you can install '$ gem install fluent-plugin-out-http' , proceed configuration schema proposed on github repository.

happy logging!


Comments

Popular posts from this blog

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -

YouTubePlayerFragment cannot be cast to android.support.v4.app.Fragment -