fabric8io / fabric8

fabric8 is an open source microservices platform based on Docker, Kubernetes and Jenkins
http://fabric8.io/
1.76k stars 504 forks source link

[v2] - insight-log component #3241

Open davsclaus opened 9 years ago

davsclaus commented 9 years ago

I wonder if we should port the insight-log component to v2 so eg users of Apache Karaf can use it, and we have the log plugin in hawtio working with it.

jstrachan commented 9 years ago

Yeah. I'm liking the idea of all containers; no matter what technology is used - having awesome logging and search via elasticsearch. I guess to capture all the data from karaf we need a json appender so we can reuse the same logspout/logstash code to collect all logs from all JVMs and other processes and not lose any information.

e.g. https://github.com/fabric8io/fabric8/issues/3090 and https://github.com/fabric8io/fabric8/issues/2869

I wonder if we should port the current Logs plugin in hawtio to query ElasticSearch? One thing thats nice about the ElasticSearch approach is that if a container cannot startup; we still get to see its logs. The insight-log only really works if the JVM starts up correctly and only shows about 2000 lines.

davsclaus commented 9 years ago

Yeah the insight-log was limited, but it worked for demo purposes ;) and it was there out of the box.

jstrachan commented 9 years ago

yeah ;)

Guess there's no harm in porting the insight-log bundles! :)

jimmidyson commented 9 years ago

Why can't we just use the kibana stuff that's already there? Embed kibana dashboard would work well, seeing as we're capturing container logs already.

On Mon Dec 08 2014 at 09:54:23 James Strachan notifications@github.com wrote:

yeah ;)

Guess there's no harm in porting the insight-log bundles! :)

— Reply to this email directly or view it on GitHub https://github.com/fabric8io/fabric8/issues/3241#issuecomment-66045387.

davsclaus commented 9 years ago

I would like a plain simple traditionally log viewer as well, eg so people can use hawtio and connect to any JVM and see the log plugin that dumps the logs from activemq / karaf / tomcat / wildfly / standalone.

jimmidyson commented 9 years ago

Not sure I really understand the use case for software that is supposed manage a distributed environment like Fabric8, but enjoy!

On Mon Dec 08 2014 at 10:46:34 Claus Ibsen notifications@github.com wrote:

I would like a plain simple traditionally log viewer as well, eg so people can use hawtio and connect to any JVM and see the log plugin that dumps the logs from activemq / karaf / tomcat / wildfly / standalone.

— Reply to this email directly or view it on GitHub https://github.com/fabric8io/fabric8/issues/3241#issuecomment-66096913.

davsclaus commented 9 years ago

Well maybe insight-log should be in hawtio then. But in fabric 1.x it was there.

A lot of users value the insight-log, when they use hawtio with activemq, karaf etc. Also its plain simple to understand as its just like a log tail.

jstrachan commented 9 years ago

Yeah; we definitely should be recommending Elasticsearch / Kibana as the ideal way to deal with logs across multiple machines (and letting folks view logs of stopped/broken containers too); but having a simple way to look inside JVMs to view their logs is a good fallback if folks haven't installed ES/Kibana. Ideally the Logs UI would be able to detect ES / Kibana is running and let folks search on that etc.

On 8 December 2014 at 10:53, Claus Ibsen notifications@github.com wrote:

Well maybe insight-log should be in hawtio then. But in fabric 1.x it was there.

A lot of users value the insight-log, when they use hawtio with activemq, karaf etc. Also its plain simple to understand as its just like a log tail.

— Reply to this email directly or view it on GitHub https://github.com/fabric8io/fabric8/issues/3241#issuecomment-66100675.

James

Red Hat

Twitter: @jstrachan Email: jstracha@redhat.com Blog: http://macstrac.blogspot.com/

hawtio: http:/ http://fusesource.com//hawt.io/ fabric8: http:/ http://fusesource.com//fabric8.io/

Open Source Integration