Metricbeat

https://www.elastic.co/guide/en/beats/metricbeat/current/index.html

./metricbeat
./metricbeat setup --help
./metricbeat modules --help

./metricbeat setup --template -E output.logstash.enabled=false -E 'output.elasticsearch.hosts=["localhost:9200"]'

curl -XDELETE 'http://localhost:9200/metricbeat-*'

./metricbeat setup --dashboards

Filebeat

https://www.elastic.co/guide/en/beats/filebeat/current/index.html

./filebeat
./filebeat setup --help
./filebeat modules --help

./filebeat setup --template -E output.logstash.enabled=false -E 'output.elasticsearch.hosts=["localhost:9200"]'

curl -XDELETE 'http://localhost:9200/filebeat-*'

./filebeat setup --dashboards

Packetbeat

https://www.elastic.co/guide/en/beats/packetbeat/current/index.html

./packetbeat
./packetbeat setup --help
./packetbeat modules --help

./packetbeat setup --template -E output.logstash.enabled=false -E 'output.elasticsearch.hosts=["localhost:9200"]'

curl -XDELETE 'http://localhost:9200/packetbeat-*'

./packetbeat setup --dashboards

Heartbeat

https://www.elastic.co/guide/en/beats/heartbeat/current/index.html

./heartbeat
./heartbeat setup --help
./heartbeat modules --help

./heartbeat setup --template -E output.logstash.enabled=false -E 'output.elasticsearch.hosts=["localhost:9200"]'

curl -XDELETE 'http://localhost:9200/heartbeat-*'

./heartbeat setup --dashboards

view raw Beats.md hosted with ❤ by GitHub
view raw Cat_API.md hosted with ❤ by GitHub
version: '2.2'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:6.5.4
volumes:
- esdata:/usr/share/elasticsearch/data
ports:
- 9200:9200
environment:
discovery.type: single-node
container_name: elasticsearch
kibana:
image: docker.elastic.co/kibana/kibana:6.5.4
links:
- elasticsearch
ports:
- 5601:5601
environment:
SERVER_NAME: localhost:9200
volumes:
esdata:
driver: local
view raw docker-compose.yml hosted with ❤ by GitHub

Elasticsearch

https://www.elastic.co/guide/en/elasticsearch/reference/6.5/docker.html

docker pull docker.elastic.co/elasticsearch/elasticsearch:6.5.4
docker pull docker.elastic.co/elasticsearch/elasticsearch-oss:6.5.4

docker run docker.elastic.co/elasticsearch/elasticsearch:6.5.4

Kibana

https://www.elastic.co/guide/en/kibana/6.5/index.html

docker pull docker.elastic.co/kibana/kibana:6.5.4
docker pull docker.elastic.co/kibana/kibana-oss:6.5.4

docker run docker.elastic.co/kibana/kibana:6.5.4

Docker Compose

docker-compose up
docker-compose up -d
view raw Docker.md hosted with ❤ by GitHub
view raw Slides.md hosted with ❤ by GitHub