Skip to content

Latest commit

 

History

History
50 lines (37 loc) · 1.94 KB

ELK - Elastic, Logstash, Kibana.md

File metadata and controls

50 lines (37 loc) · 1.94 KB

Using ELK for Selenoid metrics

image

  • Send metrics from http://localhost:4444/status in JSON format by Filebeat to Logstash
  • Metrics are sent by Filebeat and should be installed on the instance where Selenoid is.

FileBeat

  • we can configure Filebeat in filebeat.yml so that it would send Docker container logs to Logstash automatically. Als, we can
  • Change URL (output.logstash) in filebeat.yml - on which instance of Logstash need to send data

Logstash

  • Logstash need pipeline.yml to list all the filebeats (data providers) listening on which port.
  • Filters - Also contains filters - what needs to be processed.
  • Output - sends data to elasticsearch

Kibana

  • Need to setup index patterns - which collections we want how from Elasticsearch

Resources:


From https://github.com/aerokube/elk-config

Aerokube ELK Stack Configs

This repository contains example configuration files used to send logs from Aerokube products to Elastic stack. We are using:

Quick Start Guide

  1. We assume here that you have two Linux hosts: first with Selenoid or Ggr (application host) and second where logs will be stored (ELK host).

  2. On application host go to beats directory and start Filebeat with Docker Compose:

$ cd beats
$ docker-compose up -d
  1. On the ELK host go to elk directory and start ELK stack with Docker compose:
$ cd elk
$ docker-compose up -d