Hi,
I think I am missing something.
I have started heartbeat. I see that dashboards are created in Kibana but there is no data from heartbeat.
What is missing?
heartbeat.monitors:
- type: http
urls: ["http://consul.service.consul:8500","elasticsearch.service.consul:9200"]
schedule: '@every 5s'
timeout: 16s
output.elasticsearch:
hosts: ["elasticsearch.service.consul:9200"]
logging.level: debug
logging.selectors: ["*"]
logging.metrics.enabled: true
logging.to_files: true
logging.files:
path: /var/log/heartbeat
name: heartbeat
Are there any more configuration I need to do?
This is the log:
2017-04-21T05:42:00Z INFO Kibana dashboards successfully loaded.
2017-04-21T05:42:00Z INFO heartbeat start running.
2017-04-21T05:42:00Z INFO heartbeat is running! Hit CTRL-C to stop it.
2017-04-21T05:42:00Z DBG Start scheduler.
2017-04-21T05:42:29Z INFO Non-zero metrics in the last 30s: libbeat.es.publish.read_bytes=4432 libbeat.es.publish.write_bytes=22521
2017-04-21T05:42:59Z INFO No non-zero metrics in the last 30s
2017-04-21T05:43:29Z INFO No non-zero metrics in the last 30s
2017-04-21T05:43:59Z INFO No non-zero metrics in the last 30s
2017-04-21T05:44:29Z INFO No non-zero metrics in the last 30s
2017-04-21T05:44:59Z INFO No non-zero metrics in the last 30s
2017-04-21T05:45:29Z INFO No non-zero metrics in the last 30s
2017-04-21T05:45:59Z INFO No non-zero metrics in the last 30s
2017-04-21T05:46:29Z INFO No non-zero metrics in the last 30s
2017-04-21T05:46:59Z INFO No non-zero metrics in the last 30s
2017-04-21T05:47:29Z INFO No non-zero metrics in the last 30s
2017-04-21T05:47:59Z INFO No non-zero metrics in the last 30s
2017-04-21T05:48:29Z INFO No non-zero metrics in the last 30s
2017-04-21T05:48:59Z INFO No non-zero metrics in the last 30s
2017-04-21T05:49:29Z INFO No non-zero metrics in the last 30
curl elasticsearch:9200/_cat/indices?v
health status index uuid pri rep docs.count docs.deleted store.size pri.store.size
yellow open .kibana NjBHLO5kQk6Za0hNEJFmHA 5 1 110 71 376.1kb 376.1kb
yellow open metricbeat-2017.04.21 BNilHxvPRJGKdJXL-KmyWg 5 1 208947 0 141mb 141mb
yellow open filebeat-2017.04.21 2xXKrGslRWGs2_4Jm6IULA 5 1 16808 0 16.7mb 16.7mb
Br Mathias