A Journey of a Thousand Miles Begins with a Single Step

Check for running 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 severs. This post illustrates how you do it with MobaXterm.

Read more