Hello everyone!
I have an error with Filebeat... checking /var/log/filebeat/filebeat , I am seeing this error:
2018-08-27T17:37:09.165Z INFO instance/beat.go:273 Setup Beat: filebeat; Version: 6.4.0
2018-08-27T17:37:09.167Z INFO pipeline/module.go:98 Beat name: elk640.oracle.com
2018-08-27T17:37:09.168Z INFO [monitoring] log/log.go:114 Starting metrics logging every 30s
2018-08-27T17:37:09.168Z INFO instance/beat.go:367 filebeat start running.
2018-08-27T17:37:09.168Z INFO registrar/registrar.go:134 Loading registrar data from /var/lib/filebeat/registry
2018-08-27T17:37:09.169Z INFO registrar/registrar.go:141 States Loaded from registrar: 10
2018-08-27T17:37:09.169Z WARN beater/filebeat.go:371 Filebeat is unable to load the Ingest Node pipelines for the configured modules because the Elasticsearch output is not configured/enabled. If you have already loaded the Ingest Node pipelines or are using Logstash pipelines, you can ignore this warning.
2018-08-27T17:37:09.169Z INFO crawler/crawler.go:72 Loading Inputs: 1
2018-08-27T17:37:09.169Z INFO log/input.go:138 Configured paths: [/var/log/*.log]
2018-08-27T17:37:09.169Z INFO input/input.go:114 Starting input of type: log; ID: 11204088409762598069
2018-08-27T17:37:09.170Z INFO crawler/crawler.go:106 Loading and starting Inputs completed. Enabled inputs: 1
2018-08-27T17:37:09.170Z INFO cfgfile/reload.go:140 Config reloader started
2018-08-27T17:37:19.170Z **ERROR cfgfile/reload.go:213 Error loading config: invalid config: yaml: line 9: could not find expected ':'**
2018-08-27T17:37:19.173Z INFO log/input.go:138 Configured paths: [/var/log/auth.log* /var/log/secure*]
2018-08-27T17:37:19.174Z INFO log/input.go:138 Configured paths: [/var/log/messages* /var/log/syslog*]
2018-08-27T17:37:19.174Z INFO input/input.go:114 Starting input of type: log; ID: 300630154341581075
2018-08-27T17:37:19.174Z INFO input/input.go:114 Starting input of type: log; ID: 17766284131079967355
2018-08-27T17:37:19.176Z INFO log/harvester.go:251 Harvester started for file: /var/log/messages
2018-08-27T17:37:29.174Z **ERROR cfgfile/reload.go:213 Error loading config: invalid config: yaml: line 9: could not find expected ':'**
2018-08-27T17:37:39.171Z INFO [monitoring] log/log.go:141 Non-zero metrics in the last 30s {"monitoring": {"metrics": {"beat":{"cpu":{"system":{"ticks":10,"time":{"ms":17}},"total":{"ticks":40,"time":{"ms":47},"value":40},"user":{"ticks":30,"time":{"ms":30}}},"info":{"ephemeral_id":"21688425-e712-4fcb-99f4-98dcd570a709","uptime":{"ms":30022}},"memstats":{"gc_next":6460672,"memory_alloc":4861120,"memory_total":7688776,"rss":23183360}},"filebeat":{"events":{"added":14,"done":14},"harvester":{"open_files":1,"running":1,"started":1}},"libbeat":{"config":{"module":{"running":0},"reloads":2},"output":{"events":{"acked":5,"batches":2,"total":5},"read":{"bytes":12},"type":"logstash","write":{"bytes":1233}},"pipeline":{"clients":3,"events":{"active":0,"filtered":9,"published":5,"retry":4,"total":14},"queue":{"acked":5}}},"registrar":{"states":{"current":10,"update":14},"writes":{"success":11,"total":11}},"system":{"cpu":{"cores":2},"load":{"1":0.99,"15":0.51,"5":0.84,"norm":{"1":0.495,"15":0.255,"5":0.42}}}}}}
> 2018-08-27T17:37:39.175Z ERROR cfgfile/reload.go:213 Error loading config: invalid config: yaml: line 9: could not find expected ':'
> 2018-08-27T17:37:49.176Z ERROR cfgfile/reload.go:213 Error loading config: invalid config: yaml: line 9: could not find expected ':'
> 2018-08-27T17:37:59.177Z ERROR cfgfile/reload.go:213 Error loading config: invalid config: yaml: line 9: could not find expected ':'
2018-08-27T17:38:09.170Z INFO [monitoring] log/log.go:141 Non-zero metrics in the last 30s {"monitoring": {"metrics": {"beat":{"cpu":{"system":{"ticks":20,"time":{"ms":12}},"total":{"ticks":90,"time":{"ms":57},"value":90},"user":{"ticks":70,"time":{"ms":45}}},"info":{"ephemeral_id":"21688425-e712-4fcb-99f4-98dcd570a709","uptime":{"ms":60022}},"memstats":{"gc_next":6532256,"memory_alloc":3277496,"memory_total":21894736,"rss":3878912}},"filebeat":{"events":{"added":13,"done":13},"harvester":{"open_files":1,"running":1}},"libbeat":{"config":{"module":{"running":0},"reloads":3},"output":{"events":{"acked":13,"batches":9,"total":13},"read":{"bytes":60},"write":{"bytes":4191}},"pipeline":{"clients":3,"events":{"active":0,"published":13,"total":13},"queue":{"acked":13}}},"registrar":{"states":{"current":10,"update":13},"writes":{"success":9,"total":9}},"system":{"load":{"1":0.6,"15":0.5,"5":0.76,"norm":{"1":0.3,"15":0.25,"5":0.38}}}}}}
> 2018-08-27T17:38:09.177Z ERROR cfgfile/reload.go:213 Error loading config: invalid config: yaml: line 9: could not find expected ':'
I checked several time my filebeat.yml, logstash.yml, elasticsearch.yml and kibana.yml and I couldn't find any error in line 9... do you know how I could fix this error?
Thanks!