ElasticSearch/Metricbeat/Install MetricBeat in your system
Using docker
editdocker pull docker.elastic.co/beats/metricbeat:7.4.1 && docker run docker.elastic.co/beats/metricbeat:7.4.1 setup -E setup.kibana.host=kibana:5601 -E output.elasticsearch.hosts=["elasticsearch:9200"]
If you are installing everything or your laptop:
docker pull docker.elastic.co/beats/metricbeat:7.4.1 && docker run docker.elastic.co/beats/metricbeat:7.4.1 setup -E setup.kibana.host=localhost:5601 -E output.elasticsearch.hosts=["localhost:9200"]
See also
edit- ElasticSearch and Kibana