Sending Metricbeat Logs directly to Elasticsearch

(Shrikant) #1

I am having two Systems (System1 & System2).
I am unable to collect metricbeat logs of System2 in the Elasticsearch of System1.
My metricbeat.yml file configuration is as below

Help would be really appreciated


(Daniel Mitterdorfer) #2

Hi @shrikantgulia,

In general I think that question is better suited for the #beats:metricbeat forum but maybe I'm able to give some pointers.

What do you mean by that? Is reachable from System2 (ping)? Is Elasticsearch bound to instead of loopback? What happens if you issue curl If you don't see anything like this:

  "name" : "OSjLgO2",
  "cluster_name" : "elasticsearch",
  "cluster_uuid" : "-IZx01UcSkiYc4aj_7Ky_w",
  "version" : {
    "number" : "5.5.0",
    "build_hash" : "260387d",
    "build_date" : "2017-06-30T23:16:05.735Z",
    "build_snapshot" : false,
    "lucene_version" : "6.6.0"
  "tagline" : "You Know, for Search"

Then check config/elasticsearch.yml, specifically It should be set to to listen on all network interfaces (don't forget to restart Elasticsearch if you change the configuration). By default, Elasticsearch only listens on loopback (i.e.

If that does not help, please check the logs of metricbeat and Elasticsearch for further hints.


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.