Latest Posts


© elastic.co Logstash Logo 2017
IT

Import Currency codes into Elasticsearch

Working in the financial business requires to have the currency code master-data accessible for various reasons. The ISO 4217 currency codes can be obtained from the ISO Organization website. This post uses Logstash and the csv plugin to process the data and import it into Elasticsearch. Elasticsearch itself provides the REST interface, so every micro-service or web service can access the desired data.

by Tan-Vinh Nguyen on , Estimated 2 min read → Read on

© elastic.co Elasticsearch Logo 2017
IT

Reindex Watcher Indices with Curator

Elasticsearch Alerting with X-Pack (formerly known as Watcher), writes it watch executions in a daily indices. If you don’t keep an eye on that, you use a lot of shards on small indices. Curator offers the capability of the reindex action, i.e. write data from a daily index into a month or year index. This post contains an example for Elasticsearch v5.4.3 and Elasticsearch Curator v5.1.1.

by Tan-Vinh Nguyen on , Estimated 3 min read → Read on

Linux

Service Dependencies in Monit

Monit allows start, stop and restart program instructions in process checks. If you restart with monit, no alarm or warning is triggered then. For instance you need to restart an application like logstash for configuration changes.

by Tan-Vinh Nguyen on , Estimated 2 min read → Read on

© elastic.co Elasticsearch Logo 2017
IT

Evaluating Elasticsearch Watcher Cron Expression

Working with Elasticsearch Watcher enables you to put a cron schedule into the trigger. This is no ordinary linux cron expression. It looks like Quartz. If you want to test the correctness of the cron, you use the shipped utility croneval in the installed X-Pack directory.

by Tan-Vinh Nguyen on , Under 1 min read → Read on

Linux

The Base64 tool for Linux

HTTP basic authentication does base64 encoding. base64 exists on nearly every Linux distribution.

by Tan-Vinh Nguyen on , Under 1 min read → Read on