rTail – a tool to collect and view the WSO2 Logs in a browser

If you want some lightweight tool and easy to use to collect, track and visualise all type of events of your logs in real time and from an unique and standard way as a browser, then rTail is your tool.

From rTail Github page https://github.com/kilianc/rtail:

rtail is a command line utility that grabs every line in stdin and broadcasts it over UDP. That’s it. Nothing fancy. Nothing complicated. Tail log files, app output, or whatever you wish, using rtail broadcasting to an rtail-server – See multiple streams in the browser, in realtime.

Why logging is important in Microservices?

If you think that implement (Micro)services is to put your services in containers and forgot of them, then you are wrong. You have to monitor the performance and health at Application and System level.

There are many tools out there, opensource, commercial, on-cloud, such as log.io, ELK, Clarity, Tailon, frontail, etc. In my opinion, for development and a VM the most simple, fresh and lightweight tool is rTail.

The logging is a time consuming process and we have to prepare before in order to be more productive.

The de-facto tool is ELK (Elasticsearch, Logstash and Kibana), useful and powerful, but for me is “using a sledge-hammer to crack a nut” (matar moscas a cañonazos).

How I started to use it?

You can follow the instructions in rTail webpage, obviously this is the best way, but if you want to go further, you could use my Vagrant box and Puppet modules already configured, where WSO2 ESB, WSO2 AM, WSO2 DSS, WSO2 GREG and Wiremock are sending event logs to the rTail server, also configured. In just 10 minutes you will get a Ubuntu VM with WSO2, Wiremock running and rTail collecting logs as shown below.

box-vagrant-wso2-dev-srv-rtail-logs

If you want more details, you can use my Github repository for this project.
https://github.com/Chilcano/box-vagrant-wso2-dev-srv

Enjoy it.

Advertisement

@Chilcano

Tagged with: , , ,
Posted in Microservices, Observability, SOA

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Archives
%d bloggers like this: