Elasticsearch is a system that allows storing data of various formats and performing full-text search for the data. This article contains a description of a way to configure Elasticsearch for SAYMON.
The suggested manual uses Logstash for gathering and filtering data and Kibana as a graphical interface for Elasticsearch. The three mentioned tools form the so-called ELK (Elasticsearch, Logstash, Kibana) stack.
All of the instructions mentioned below have to be applied on the SAYMON installation server.
Configuring and running ELK
If Docker Compose has not been installed on your system, it is necessary to install it, following the instruction.
In order to run ELK the following steps must be performed:
- Download and unzip the elk.tar.gz archive.
Go to the directoryand execute the following command:
After the running, Logstash automatically creates an index namedfor storing data. Then the index needs to be configured.
To configure the index it is necessary to open the console in Kibana (
) and run the following command: ()
If the request is successful, the following response will be displayed in the right part of the screen:
Configuring SAYMON to interact with ELK
In order to configure ELK the following steps must be performed:
Add the following parameters to the server configuration file :
Fetching data from Elasticsearch
Currently, SAYMON users can get data from Elasticsearch only via API (see the Get Stat History method).