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
Post a Comment