Hi I'm new to ELK stack . Im Using ELK 5.2 and Heartbeat Version 5.2.2.
After changing the heartbeat.yml to following , i couldn't start heartbeat service. So i tried validating heartbeat.yml and i got error "Exiting: error loading config file: yaml: line 25: mapping values are not allowed in this context"
what am i doing wrong here ?
heartbeat.monitors:
- type: http
# List or urls to query
urls: ["http://localhost:9200"]
# Configure task schedule
schedule: '@every 10s'
# Total test connection and data exchange timeout
#timeout: 16s
- type: tcp
hosts: ["localhost:8080"]
schedule: '@every 10s'
mode : any
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.