Skip to content

Latest commit

 

History

History
72 lines (61 loc) · 2.39 KB

README.observability.md

File metadata and controls

72 lines (61 loc) · 2.39 KB

Elasticsearch Observability

Metricbeat

Setup

docker container run \
--name=metricbeat \
--volume="$(pwd)/metricbeat.docker.yml:/usr/share/metricbeat/metricbeat.yml:ro" \
docker.elastic.co/beats/metricbeat:8.14.3 \
setup -E setup.kibana.host=host.docker.internal:5601 \
-E output.elasticsearch.hosts=["host.docker.internal:9200"] \
-E output.elasticsearch.username=elastic \
-E output.elasticsearch.password=changeme
docker container run \
--name=metricbeat \
--volume="$(pwd)/metricbeat.docker.yml:/usr/share/metricbeat/metricbeat.yml:ro" \
docker.elastic.co/beats/metricbeat:8.14.3 \
setup -E setup.kibana.host=host.docker.internal:5601 \
-E output.elasticsearch.hosts=["host.docker.internal:9200"]
docker container run --rm \
docker.elastic.co/beats/metricbeat:8.14.3 \
setup -E setup.kibana.host=host.docker.internal:5601 \
-E output.elasticsearch.hosts=["host.docker.internal:9200"] \
-E output.elasticsearch.username=elastic \
-E output.elasticsearch.password=changeme

Windows Dashboard Setup

docker container run --rm docker.elastic.co/beats/metricbeat:8.14.3 setup -E setup.kibana.host=host.docker.internal:5601 -E output.elasticsearch.hosts=["host.docker.internal:9200"] -E output.elasticsearch.username=elastic -E output.elasticsearch.password=changeme
docker container run \
-p 5066:5066 \
--volume="$(pwd)/metricbeat.docker.yml:/usr/share/metricbeat/metricbeat.yml:ro" \
docker.elastic.co/beats/metricbeat:8.14.3 \
setup -E setup.kibana.host=host.docker.internal:5601

Deployment

docker container run \
-p 5066:5066 \
--volume="$(pwd)/metricbeat.docker.yml:/usr/share/metricbeat/metricbeat.yml:ro" \
docker.elastic.co/beats/metricbeat:8.14.3 \
metricbeat -e

Filebeat

docker container run --rm \
docker.elastic.co/beats/filebeat:8.14.3 \
setup -E setup.kibana.host=host.docker.internal:5601 \
-E output.elasticsearch.hosts=["host.docker.internal:9200"] \
-E output.elasticsearch.username=elastic \
-E output.elasticsearch.password=changeme

Windows Dashboard Setup

docker container run --rm docker.elastic.co/beats/filebeat:8.14.3 setup -E setup.kibana.host=host.docker.internal:5601 -E output.elasticsearch.hosts=["host.docker.internal:9200"] -E output.elasticsearch.username=elastic -E output.elasticsearch.password=changeme