Only just started experimenting with metricbeat so in no way an expert
Starting metricbeat without any arguments means it uses defaults for Kibana host and output (which I think is Elasticsearch). The assumption is that both Kibana and Elasticsearch is on the same host (localhost) and are listening on their default ports.
When you monitor several machines with metricbeat you are probably sending the metrics to a central Elastic Stack setup. This means you have to change localhost in the metricbeat config to wherever Kibana and Elasticsearch is.
You should be able to use a shared index for all metricbeat metrics. Usually you would have a rotating daily index. This is the default and metricbeatwill do that by default if it connects directly to Elasticsearch. If you go through Logstash, you might have to configure it separately.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.