The Curious Dev

Various programming sidetracks, devops detours and other shiny objects

Mar 4, 2018 - 6 minute read - AWS ElasticSearch Logstash Filebeat Kibana Wildfly

Log Aggregation - Filebeat

In this series of posts, I run through the process of aggregating logs with Wildfly, Filebeat, ElasticSearch and Kibana. In this post, I install and configure Filebeat on the simple Wildfly/EC2 instance from Log Aggregation - Wildfly. Now that we’ve got our really simple application up and running producing some log output, it’s time to get those logs over to the ElastisSearch domain. For the purpose of shipping logs from instances to ElasticSearch I’ve been involved with a project where we’re using Logstash to do this task.

Feb 10, 2018 - 2 minute read - AWS ElasticSearch Filebeat Kibana Wildfly

Log Aggregation - Wildfly

In this series of posts, I run through the process of aggregating logs with Wildfly, Filebeat, ElasticSearch and Kibana. In Log Agrgegation - ElasticSearch & Kibana I went through creating the ElasticSearch domain but now we need to create some logs to play with. For this post, I setup a simple Wildfly instance with a basic Java application to produce some logs. I have provisioned a simple EC2 instance with Wildfly and deployed a really simple application to it.

Jan 26, 2018 - 4 minute read - AWS ElasticSearch Filebeat Kibana Wildfly

Log Aggregation - ElasticSearch & Kibana

In this series of posts, I run through the process of aggregating logs with Wildfly, Filebeat, ElasticSearch and Kibana. In this post, I setup an ElasticSearch domain, which also comes with Kibana. AWS have provided ElasticSearch and Kibana as a managed service, known as Amazon Elasticsearch Service, which takes care of the infrastructure by managing failed nodes etc, meaning a significant chunk of the complexity is taken out of it.

Apr 30, 2017 - 3 minute read - XSL

Three ways of mapping with XSL

When transforming a payload from one form to another it’s often necessary to map various fields. An example of this may be as simple as mapping from a country code to the full name of said country, i.e. AUS to Australia. There several ways to achieve this, some more flexible than others. To use the example of country code mapping, here’s the input data that we’re required to map/transform: