An open API service indexing awesome lists of open source software.

https://github.com/shreyaskarnik/elk-stack

Dockerized ELK Stack
https://github.com/shreyaskarnik/elk-stack

docker elk kibana logstash metricbeat

Last synced: 4 months ago
JSON representation

Dockerized ELK Stack

Awesome Lists containing this project

README

          

# Elasticsearch, Logstash and Kibana (ELK) dockerized for testing

This repo contains ELK stack as docker-compose file for getting started/testing ELK with Docker.

This docker-compose file is for testing purposes only.

For configuring [logstash settings](https://www.elastic.co/guide/en/logstash/current/logstash-settings-file.html) modify `logstash.yml` currently the config is set to auto-reload and restart logstash gracefully upon modification/addition of logstash pipelines at `pipeline/*.conf`

There is a sample [logstash pipeline](https://www.elastic.co/guide/en/logstash/current/configuration.html) included in `pipelines/sample.conf` this logstash pipeline makes use of the [`heartbeat`](https://www.elastic.co/guide/en/logstash/current/plugins-inputs-heartbeat.html) input plugin to get started

## Getting started

* [Install Docker Compose](https://docs.docker.com/compose/install/)

* clone this repo `cd elk-stack` and run `docker-compose up -d`

* head to to explore the data with Kibana

## Bonus

### If you want to explore kibana with some real data you can try metricbeat to view metrics from the machine you are currently on

#### Metricbeat

* `docker-compose -f docker-compose-elk-metricbeat.yml up`
* head to System Overview Dashboard

#### Packetbeat

* `docker-compose -f docker-compose-elk-packetbeat.yml up`
* head to Packet Beat Overview Dashboard