How can I use https://github.com/Wikia/dropwizard-logstash-encoder to send
logs to logstash. After adding dependencies I am getting exception while
running Dropwizard application as :
Exception in thread "main" java.lang.NoClassDefFoundError:
Caused by: java.lang.ClassNotFoundException:
On Friday, February 27, 2015 at 4:48:48 PM UTC+5:30, Oleg Sigida wrote:
> it is already open sourced
> has couple of bugs, but if you are on Java8 should works fine
> I was able to make it running on Java 7
> However the question was is it a good idea to port it into DW codebase?
> I can submit a solution within 2 days if there will be a place anywhere.
> thanks a lot,
> пятница, 27 февраля 2015 г., 1:45:36 UTC+1 пользователь Ted M. Young
>> +1 from me, would like to see these open-sourced.
>> On Wednesday, February 25, 2015 at 6:47:46 AM UTC-8, Matt Hurne wrote:
>>> Here at CommerceHub we have a couple of internal libraries
>>> (logstash-support-logback and logstash-support-dropwizard) that we
>>> have been quite happy with so far. Open-sourcing them has been on our
>>> "someday" list for a while. They are designed to send logging events
>>> to Redis. Then we have a logstash process grab the events from Redis
>>> and put them in ElasticSearch. A logback Layout is provided which
>>> produces a JSON representation of the logging events.
>>> logstash-support-logback includes the Layout and Redis Appender;
>>> logstash-support-dropwizard adds classes that can be used to easily
>>> configure the Layout and Appender in a Dropwizard application. We use
>>> these classes with both Java 7 and Java 8. If there's a lot of
>>> interest perhaps I can prioritize getting this out under
>>> https://github.com/commercehub-oss .
>>> Matt Hurne
>>> On Wed, Feb 25, 2015 at 9:09 AM, Oleg Sigida <oleg....@gmail.com>
>>> > Hi All,
>>> > We are developing some set of applications and use micro-services as
>>> > architecture approach.
>>> > So to keep logs in one place we are using logstash and kibana, which
>>> > quite popular this days.
>>> > Current implementation of Dropwizard does not allow us to send logs
>>> > to logstash. One has to use some middle layer or to develop some extra
>>> > However there is a solution dropwizard-logstash-encoder
>>> > (https://github.com/Wikia/dropwizard-logstash-encoder) which allows
>>> to send
>>> > logs directly to logstash and configure it via native dropwizard way.
>>> > Unfortunately, the implementation has some issues (f.ex. not
>>> compatible with
>>> > Java 7).
>>> > From my point of view, dropwizard-logstash-encoder should be a part of
>>> > dropwizard as a independent module or maybe event built in as default
>>> > option.
>>> > Could you please share your ideas on the topic? Does it worse to be
>>> > to Dropwizard code base?
>>> > thanks a lot,
>>> > Oleg
>>> > --
>>> > You received this message because you are subscribed to the Google
>>> > "dropwizard-dev" group.
>>> > To unsubscribe from this group and stop receiving emails from it, send
>>> > email to dropwizard-de...@googlegroups.com.
>>> > For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.