ELK & Nagios Part 2: How to get your logs from Redis to Elasticsearch

In the last part we collected the application logs and transferred them to Redis, our high performance messaging queue.

In this part we want to get the logs/messages out of Redis, filter them, cut them in pieces/fields and finally transfer them to our index database Elasticsearch.

We will use Logstash to normalize and enrich our data and to parse it to Elasticsearch.

To get the data out of Redis, we have to define an input plugin, fortunately Logstash comes with an input plugin for Redis, we just have to point it to the Redis server/container and the used Redis port: Read more

Add a new Webserver to all IBM WebSphere Apps/Modules through python script

If you define your Webserver in WebSphere before you install your applications the apps/modules will not be automatically mapped to this server.

Same happens occasionally even if you have installed your apps before you Webserver.

I.e. if you want to map your Webserver manually to your IBM Connections installation you have to click hundreds of times inside the WebSphere Integrated Solutions Console or you use the following script which I created today:

https://github.com/stoeps13/ibmcnxscripting/blob/master/WebSphere/cfgWebServer.py

If you already use Christoph Stöttners Connections Scripts from GitHub you are used to run the scripts through the cnxmenu.py. Right now this new script is not available in this menu but I will try to add it in future.

Have fun (and provide feedback if script works for you)!