ruby logs to log collector

5 views
Skip to first unread message

NIKHIL SHARMA

unread,
Aug 11, 2016, 4:02:37 PM8/11/16
to Fluentd Google Group
i need to forward ruby application logs(/testapp/logs/staging.log) to log collector but is there any predefined sample format for this or we can check how can we define this.what thing gem or file change we need?

Mr. Fiber

unread,
Aug 12, 2016, 8:30:10 AM8/12/16
to Fluentd Google Group
If you want to forward logs to fluentd directly,
you can use fluent-logge-ruby: http://docs.fluentd.org/articles/ruby
Or if you want to collect logs from log file,
you can use built-in in_tail plugin: http://docs.fluentd.org/articles/in_tail


Masahiro

On Fri, Aug 12, 2016 at 5:02 AM, NIKHIL SHARMA <nikhil...@gmail.com> wrote:
i need to forward ruby application logs(/testapp/logs/staging.log) to log collector but is there any predefined sample format for this or we can check how can we define this.what thing gem or file change we need?

--
You received this message because you are subscribed to the Google Groups "Fluentd Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fluentd+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

NIKHIL SHARMA

unread,
Aug 12, 2016, 9:51:43 AM8/12/16
to flu...@googlegroups.com

actually i want to forward the log to log collector then upload to s3 i think we can use in_tail command.

nikhil


You received this message because you are subscribed to a topic in the Google Groups "Fluentd Google Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/fluentd/8IUQvjZpChg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to fluentd+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages