Hello there,
We are at ELK 6.4.2 (just upgraded) and beats are at 6.3.2.
I did try winlogbeat 6.4.2, the same error.
Recently we enabled X-Pack and set up SSL\TLS on Logstash/Elasticsearch/Kibana.
the Beats (filebeat/metricbeat/auditbeat/packetbeat) work fine on linux with the SSL (certs/keys) enabled on them. But on Windows, Packetbeat and Auditbeat work fine with SSL enabled. But winlogbeat can doesn't work, it seems that winlogbeat worked for 1 or 2 minutes then stopped..
Nothing was changed on the winlogbeat.yml except the output to Logstas with SSL certs/keys on.
Using the same SSL certs/keys on the same window server, auditbeat and packet beats work fine.
It seems it still looks for http instead of https.
"2018-11-01T14:09:56.401-0500 INFO kibana/client.go:90 Kibana url: http://kibanahost:5601"
Here is the testing output on Windlogbeat:
PS C:\Program Files\winlogbeat-6.3.2> .\winlogbeat -c winlogbeat.yml -e -v
2018-11-01T14:09:56.380-0500 INFO instance/beat.go:492 Home path: [C:\ProgramFiles\winlogbeat-6.3.2] Config path: [C:\Program Files\winlogbeat-6.3.2] Data path: [C:\Program Files\winlogbeat-6.3.2\data] Logs path: [C:\Program Files\winlogbeat-6.3.2\logs]
2018-11-01T14:09:56.383-0500 INFO instance/beat.go:499 Beat UUID: 71d473ab-95a7-4807-91c5-5fb62c0fb510
2018-11-01T14:09:56.383-0500 INFO [beat] instance/beat.go:716 Beat info {"system_info": {"beat": {"path": {"config": "C:\Program Files\winlogbeat-6.3.2", "data": "C:\Program Files\winlogbeat-6.3.2\data", "home": "C:\Program Files\winlogbeat-6.3.2", "logs": "C:\Program Files\winlogbeat-6.3.2\logs"}, "type": "winlogbeat", "uuid": "71d473ab-95a7-4807-91c5-5fb62c0fb510"}}}
2018-11-01T14:09:56.385-0500 INFO [beat] instance/beat.go:725 Build info {"system_info": {"build": {"commit": "45a9a9e1561b6c540e94211ebe03d18abcacae55", "libbeat": "6.3.2", "time": "2018-07-20T04:21:29.000Z", "version": "6.3.2"}}}
2018-11-01T14:09:56.386-0500 INFO [beat] instance/beat.go:728 Go runtime info {"system_info": {"go": {"os":"windows","arch":"amd64","max_procs":4,"version":"go1.9.4"}}}
2018-11-01T14:09:56.393-0500 INFO [beat] instance/beat.go:732 Host info {"system_info": {"host": {"architecture":"x86_64","boot_time":"2018-10-31T08:51:56.35-05:00","hostname":"hlsoadse1a-01","ips":["fe80::d426:c557:6fb9:d34
6/64","10.100.16.11/23","::1/128","127.0.0.1/8","fe80::5efe:a64:100b/128"],"kernel_version":"6.3.9600.19153 (winblue_ltsb.180908-0600)","mac_addresses":["0e:ec:25:c3:39:8c","00:00:00:00:00:00:00:e0"],"os":{"family":"windows","platform":"windows","name":"Windows Server 2012 R2 Standard","version":"6.3","major":3,"minor":0,"patch":0,"build":"9600.19156"},"timezone":"CDT","timezone_offset_sec":-18000,"id":"5da79a47-449b-45f7-8e90-be2395659d97"}}}
2018-11-01T14:09:56.395-0500 INFO instance/beat.go:225 Setup Beat: winlogbeat; Version: 6.3.2
2018-11-01T14:09:56.399-0500 INFO pipeline/module.go:81 Beat name: beathost-01
2018-11-01T14:09:56.400-0500 INFO beater/winlogbeat.go:51 State will be read from and persisted to C:\Program Files\winlogbeat-6.3.2\data.winlogbeat.yml
2018-11-01T14:09:56.401-0500 INFO [monitoring] log/log.go:97 Starting metrics logging every 30s
2018-11-01T14:09:56.401-0500 INFO kibana/client.go:90 Kibana url: http://kibanahost:5601
2018-11-01T14:10:17.540-0500 INFO [monitoring] log/log.go:132 Total non-zero metrics {"monitoring": {"metrics": {"beat":{"cpu":{"system":{"ticks":109,"time":{"ms":109}},"total":{"ticks":202,"time":{"ms":202},"value":202},"user":{
"ticks":93,"time":{"ms":93}}},"info":{"ephemeral_id":"51777cb8-38d4-4ca4-9701-ee7cc0bc0382","uptime":{"ms":26108}},"memstats":{"gc_next":4194304,"memory_alloc":1550432,"memory_total":3282568,"rss":17772544}},"libbeat":{"config":{"module":{"running":0}},"output":{"type":"logstash"},"pipeline":{"clients":0,"events":{"active":0}}},"system":{"cpu":{"cores":4}}}}}
2018-11-01T14:10:17.543-0500 INFO [monitoring] log/log.go:133 Uptime: 26.2350229s
2018-11-01T14:10:17.543-0500 INFO [monitoring] log/log.go:110 Stopping metrics logging.
2018-11-01T14:10:17.543-0500 INFO instance/beat.go:306 winlogbeat stopped.
2018-11-01T14:10:17.544-0500 ERROR instance/beat.go:691 Exiting: Error importing Kibana dashboards: fail to create the Kibana loader: Error creating Kibana client: Error creating Kibana client: fail to get the Kibana version: HTTP GET request to /api/status fails: fail to execute the HTTP GET request: Get http://hlsokbne1a-01.hls.dxc.com:5601/api/status: dial tcp 10.100.35.15:5601: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.. Response: .
Exiting: Error importing Kibana dashboards: fail to create the Kibana loader: Error creating Kibana client: Error creating Kibana client: fail to get the Kibana version: HTTP GET request to /api/status fails: fail to execute the HTTP GET re
quest: Get http://kibanahost-01.hls.dxc.com:5601/api/status: dial tcp 10.100.35.15:5601: connectex: A connection attempt
failed because the connected party did not properly respond after a period of time, or established connection failed be
cause connected host has failed to respond.. Response: .
PS C:\Program Files\winlogbeat-6.3.2>
PS C:\Program Files\winlogbeat-6.3.2> .\winlogbeat.exe test config -c .\winlogbeat.yml -e
...
Config OK
PS C:\Program Files\winlogbeat-6.3.2> .\winlogbeat.exe test output -e -d "*"
2018-11-01T14:56:30.556-0500 INFO instance/beat.go:492 Home path: [C:\Program Files\winlogbeat-6.3.2] Config path: [C:\Program Files\winlogbeat-6.3.2] Data path: [C:\Program Files\winlogbeat-6.3.2\data] Logs path: [C:\Program Files\winlogbeat-6.3.2\logs]
2018-11-01T14:56:30.558-0500 DEBUG [beat] instance/beat.go:519 Beat metadata path: C:\Program Files\winlogbeat-6.3.2\data\meta.json
2018-11-01T14:56:30.559-0500 INFO instance/beat.go:499 Beat UUID: 71d473ab-95a7-4807-91c5-5fb62c0fb510
logstash: logstashhost:5044...
connection...
parse host... OK
dns lookup... OK
addresses: 10.100.35.15
dial up... OK
TLS...
security: server's certificate chain verification is enabled
==================================
Again, auditbeat and packetbeat on the same windows server work fine...
Windows server is Windows2012R2 64 bit.
I didn't post the winlogbeat.yml because nothing changed on it except the output to logstash portion with SSL enabled and the same setting (I copied over from auditbeat) on auditbeat/packetbeat work fine.
Please take a look and help...
Thanks in advance
Li