On Tue, Aug 14, 2018 at 6:21 AM, belgoros <[email protected]> wrote:

>> Can anybody provide some links to how to set up correctly Lograge,
>> logstash-logger with a Rails API app ? I followed their READMEs but still
>> nothing sent to Kibana :(.

>>   config.lograge.logger = LogStashLogger.new(host: ENV['logstash_host'],
>> port: ENV['logstash_port'], verify_hostname: false)

Never used either of these but had a little play.

My impression is that LogStashLogger defaults to a UDP connection,
so you might try with e.g.

LogStashLogger.new(type: :tcp, host: ENV['logstash_host'], ...)

HTH,
-- 
Hassan Schroeder ------------------------ [email protected]
twitter: @hassan
Consulting Availability : Silicon Valley or remote

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yA-y6kh1x1AgNAheL-EdQ%2BtZU2U8EtuvLD4CLg9bxhpuQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to