Hi all. Trying to get a new ELK stack set up. I have two servers, one Linux with Filebeat running on it, and one Windows with Elasticsearch, Kibana, and X-Pack running on it. The servers are sitting on the same network segment with no firewalls or proxies between them. Here's my filebeat config:
filebeat.prospectors:
- input_type: log
paths:
- /var/log/httpd/error_log
- input_type: log
paths:
- /usr/local/redacted/logs/HttpLog
include_lines: ["Execution"]
output.elasticsearch:
hosts: ["xx.xx.xx.xx:82"]
username: "filebeat"
password: "redacted"
index: "httpderrorlog-test-%{+yyyy.MM.dd}"
indices:
- index: "httplog-test-%{+yyyy.MM.dd}"
when.contains:
message: "Execution"
Here's the error I'm getting:
2017-10-24T15:21:41-04:00 ERR Connecting error publishing events (retrying): Get http://90.21.65.98:82: EOF
2017-10-24T15:21:41-04:00 DBG send fail
2017-10-24T15:21:43-04:00 DBG Flushing spooler because of timeout. Events flushed: 0
2017-10-24T15:21:45-04:00 DBG End of file reached: /usr/local/redacted/logs/HttpLog; Backoff now.
2017-10-24T15:21:45-04:00 DBG ES Ping(url=http://90.21.65.98:82, timeout=1m30s)
2017-10-24T15:21:45-04:00 DBG Ping request failed with: Get http://90.21.65.98:82: EOF
I have the Elasticsearch server set up for HTTP on port 82 and Transport on 8081. I've verified that the user I specified in the yaml is created and has the proper roles in the cluster. I see no messages on the cluster whatsoever indicating that any traffic was received or authenticated whatsoever.
Does anybody have any suggestions?