Browsed by
Category: ElasticSearch

Monitoring servers with ElasticSearch

Monitoring servers with ElasticSearch

When you want to be flexible with server monitoring data ElasticSearch is a good option to collect data. With the ElasticSearch queries you can be creative on which data you want to see. Also the Kibana kan help visualising data and making dashboards. In this blog post I will show you how this can be done. Docker First To build an example we will work with Docker. Of course you can set up ElasticSearch and Kibana directly on the OS….

Read More Read More

Improve Docker ElasticSearch nodes

Improve Docker ElasticSearch nodes

To improve the docker ElasticSearch cluster I have posted here ElasticSearch cluster with Docker we can add memory improvements and monitoring. Memory It is recommend by ElasticSearch to disable any swap memory, since the docker for ElasticSearch is based on Ubuntu swap can be enabled inside the docker. To disable this add the following parameter in Docker run; Next to disabling the swap memory we can increase the ElasticSearch memory, default is 1GB but with this paramater (again in docker run) you…

Read More Read More

XML files in LogStash

XML files in LogStash

How to import my custom XML files in ElasticSearch, luckily Logstash is there to help. Let’s create an example XML file that we want to import in Elasticsearch. Copy the text below and save this as ‘.xml’, you can also use your own XML. Building the Logstash config file XML files can be readed by Logstash with the multi line option under the input file. Below I show my example configuration file; The filter part of the configuration will read the XML….

Read More Read More

ElasticSearch cluster with Docker

ElasticSearch cluster with Docker

In previous posts I explained how-to create the Docker Cluster including the overlay network. Before we can start with the ElasticSearch Cluster it’s required to have the overlay network in place. Let’s get started with the ElasticSearch containers. For this example we will use the following configuration: Docker-Host-Master with IP 192.168.0.1 Docker-Host-02 with IP 192.168.0.2 Network created in docker with overlay drivers and name “clusternetwork”. Network “clusternetwork” has subnet “192.168.20.0/24”. Again you can read my previous post to make sure this is…

Read More Read More