HI Team,
I have completed ELK setup completed and successful in creating many visualtisation, however, offlate my filebeat is not sending any messages to my logstash system. I am getting below message when trying to publish
./filebeat -e -c filebeat.yml -d "publish"
2018-07-23T23:46:15.212-0700 INFO instance/beat.go:468 Home path: [/opt/bea/ELKSTACK/filebeat-6.2.4-linux-x86_64] Config path: [/opt/bea/ELKSTACK/filebeat-6.2.4-linux-x86_64] Data path: [/opt/bea/ELKSTACK/filebeat-6.2.4-linux-x86_64/data] Logs path: [/opt/bea/ELKSTACK/filebeat-6.2.4-linux-x86_64/logs]
2018-07-23T23:46:15.212-0700 INFO instance/beat.go:475 Beat UUID: 57d1129b-8370-49a0-80ca-15f15e15e377
2018-07-23T23:46:15.212-0700 INFO instance/beat.go:213 Setup Beat: filebeat; Version: 6.2.4
2018-07-23T23:46:15.213-0700 INFO pipeline/module.go:76 Beat name: STOXXXXX.corp.prk.com
2018-07-23T23:46:15.213-0700 INFO [monitoring] log/log.go:97 Starting metrics logging every 30s
2018-07-23T23:46:15.213-0700 INFO instance/beat.go:301 filebeat start running.
2018-07-23T23:46:15.213-0700 INFO registrar/registrar.go:73 No registry file found under: /opt/bea/ELKSTACK/filebeat-6.2.4-linux-x86_64/data/registry. Creating a new registry file.
2018-07-23T23:46:15.216-0700 INFO registrar/registrar.go:110 Loading registrar data from /opt/bea/ELKSTACK/filebeat-6.2.4-linux-x86_64/data/registry
2018-07-23T23:46:15.216-0700 INFO registrar/registrar.go:121 States Loaded from registrar: 0
2018-07-23T23:46:15.216-0700 WARN beater/filebeat.go:261 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-07-23T23:46:15.216-0700 INFO crawler/crawler.go:48 Loading Prospectors: 1
2018-07-23T23:46:15.218-0700 INFO log/prospector.go:111 Configured paths: [/opt/bea/Logwarhouse/Genacess/messages]
2018-07-23T23:46:15.218-0700 INFO crawler/crawler.go:82 Loading and starting Prospectors completed. Enabled prospectors: 1
2018-07-23T23:46:15.218-0700 INFO cfgfile/reload.go:127 Config reloader started
2018-07-23T23:46:15.218-0700 INFO cfgfile/reload.go:219 Loading of config files completed.
2018-07-23T23:46:45.216-0700 INFO [monitoring] log/log.go:124 Non-zero metrics in the last 30s {"monitoring": {"metrics": {"beat":{"cpu":{"system":{"ticks":10,"time":11},"total":{"ticks":20,"time":26,"value":20},"user":{"ticks":10,"time":15}},"info":{"ephemeral_id":"e80fa1bc-b620-4750-bd55-e78defa06843","uptime":{"ms":30009}},"memstats":{"gc_next":4194304,"memory_alloc":1394592,"memory_total":2918704,"rss":14323712}},"filebeat":{"harvester":{"open_files":0,"running":0}},"libbeat":{"config":{"module":{"running":0},"reloads":1},"output":{"type":"logstash"},"pipeline":{"clients":1,"events":{"active":0}}},"registrar":{"states":{"current":0},"writes":1},"system":{"cpu":{"cores":4},"load":{"1":0.54,"15":0.25,"5":0.37,"norm":{"1":0.135,"15":0.0625,"5":0.0925}}}}}}
------------------------------------------------------------------------------------
Filebeat Input:
-----------------
paths:
- /opt/bea/Logwarhouse/Genacess/messages
include_lines: ['^Apigee']
close_inactive: 20m
multiline.pattern: '^\w{3}\s\s\d{2}'
multiline.negate: true
multiline.match: after
output.logstash:
# The Logstash hosts
hosts: ["localhost:5089"]