Loading...

Blog

A Journey of a Thousand Miles Begins with a Single Step

Code Review - Boolean's Delight

Did some code review and saw some fancy lines :-( It is about JSON handling with Jackson. Basically is about how to determine that a given JsonNode is not null and a container.

Read more

Major logstash changes in the email output plugin

Today I was looking on the upgrade of logstash 1.5.4 to newest version 2.2.0 in the office. There are some configuration breakers. One of them, is in the email output plugin.

Read more

Disable shard allocation of your Elasticsearch nodes

If you going to upgrade your cluster or restart a node, it is wise to disable the shard allocation on that node. This prevents Elasticsearch from rebalancing missing shards until you tell it otherwise. This post demonstrates how to disable and enable shard allocation.

Read more

Check for responsive Elasticsearch instance in a shell script

This small shell script checks if an Elasticsearch instance is running by querying the REST API.

Read more

Parsing output with multiple whitespace

This post demonstrates how to parse output separated with multiple whitespace in the bash/shell.

Read more

Delete multiple documents from an Elasticsearch Index

This post demonstrates how to delete documents from an Index in Elasticsearch, that meet you search criteria of a query. You may have situations, that you are reporting to a wrong index. Therefore this post gives you an solution how you can clean up your index.

Read more

Installing Elasticsearch Plugins behind a proxy or offline

This post demonstrates how to install elasticsearch or kibana plugins behind a proxy. There are several possibilities to achieve an online or offline installation. Following example installs the delete-by-query plugin for elasticsearch v 2.2. It is a great improvement to the previous buggy and non performant implementation. elastic has remove it from the elasticsearch core.

Read more

Remove console handler from root logger in JBoss/Wildfly

This post demonstrates how to remove log handlers at runtime in JBoss EAP 6.4.4 or Wildfly.

Read more

Use ssh-keys for authentication with MobaXterm

MobaXterm is also a more convenient ssh client like putty. Session management in the professional version is very handy. Since MobaXterm comes with cygwin, ssh is also available in the local terminal. To eliminate the hassle for entering the password (especially if security compliance requires you to change the password every month), ssh keys are a more secure and convenient method for authentication on servers. This post illustrates how you do it with MobaXterm.

Read more