0

I'm logging my Rails app needs to graylog2 server, using Yell gem, and/or gelf-rb.

I've searched a lot on the web on how to access these logs from my app, using some custom fields to filter, but no luck yet.

The only access i have to these messages are from graylog webserver. But I need it from my app. My users need to see some of these messages inside app.

There is something similar to activerecord to query and retrieve?

rdlu
  • 630
  • 6
  • 10

1 Answers1

0

You can use for example Tire to access the Greylog's Elasticsearch database.

Kimmo Lehto
  • 5,910
  • 1
  • 23
  • 32
  • Seems a interesting way, already testing. ElasticSearch is new for me, so thanks for the tip. – rdlu Feb 18 '13 at 15:55