Heartbeat to Logstash disappears in Elasticsearch (Indices)

How can I get Heartbeat to output to Logstash where I can manipulate it some? Right now the only way I can anything to appear in Elasticsearch/Kibana is to output directly to Elasticsearch and keep the default index name.

I guess what I really need is a gentle introduction to Elasticsearch indices. Will I have to write my own schema every time I change the index name?

What do you see happening if you send to Logstash?

Nothing.

I never see any indices in either Kibana or Curator.

heartbeat.yml:

#----------------------------- Logstash output --------------------------------
output.logstash:
  # The Logstash hosts
     hosts: ["localhost:5049"]
 

logstash pipeline:

input {
  beats {
    host => localhost
    port => 5049
#    host => 0.0.0.0
    id => aws_us_east
    }
    type => "http_monitor"
}

filter {}

output {
  
  elasticsearch {
    hosts => ["http://localhost:9200"]
    }
}

Is Logstash running on the same host as Heartbeat?
Is that your only Logstash config?

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