Yes I have tried with both, yet I see the same error
ssl:
verification_mode: certificate
and
ssl:
verification_mode: none
This is the debug mode logs
{"log.level": "error", "@timestamp": "2022-08-25T17:08:37.7867", "log. logger": "publisher pipeline outp
ut", "log.origin": ("file.name": "pipeline/client worker.go", "file.line":150}, "message": "Failed to
connect to backoff (async (tcp://listener-ca-logz. i0:5015)): t1s: downgrade attempt detected,
possibly due to a MitM attack or a broken
middlebox", "service.name": "filebeat", "ecs-version": "1.6. 0"}
["log.level": "info", "@timestamp": "2022-08-25T17:08:37.7862", "log.logger": "publisher pipeline outpu
t", "log. origin": ("file.name": "pipeline/client worker.go", "file.line":141}, "message": "Attempting
to reconnect to backoff (async (tcp://listener-ca.logz. i0:5015)) with 2 reconnect
attempt (s) ", "service.name": "filebeat", "ecs.version":"1.6.0"}
("log. level": "debug", "@timestamp": "2022-08-25717:08:37.7862", "log. logger": "logstash", "log.origin":
{"file.name": "logstash/async.go", "file.line": 120), "message": "connect", "service.name"; "filebeat", "e
Es. version": "1.6.01}
("log.level": "debug", "@timestamp": "2022-08-25T17:08:40.1772", "log.logger": "input.harvester", "log.o
rigin": ("file.name": "log/log.go", "file.line":111), "message": "End of file reached:
E: \\logs; Backoff
now.", "service, name": "filebeat", "input id": "62573012-c959-4a9c-95ba-3Fde8a7959dd", "source File": "E
:\\logs", "state id": "native: :327680-53-4035249832", "finished": false, "os id": "327680-53-40
35249832", "old source": "E: \\logs", "old finished":true, "old os
id": "327680-53-4035249832"
"harvester id"="126c5800-32d0-45ac-6343-6¢710a613a67", "ecs.version":"1.6.0"]
("log. level": "debug", "@timestamp":"2022-08-25T17:08:437.0052", "log. logger": "input", "log.origin": ['f
ile.name"; "input/input.go", "file.line":137}, "message": "Run
input", "service.name": "filebeat"
"ecs.version":"1.6.0"}
{"log.level": "debug", "@timestamp": "2022-08-25T17:08:43.005z", "log.logger": "input", "log. origin": ("f
ile.name": "log/input. go", "file.line":222], "message": "Start next
scan", "service.name": "filebeat", "input id": "62573012-c959-4a9c-95ba-3fde8a7959dd", "ecs.version":"I
- 6. 0"}
{"log.level": "debug", "@timestamp": "2022-08-25T17:08:43.0052", "log.logger": "input", "log.origin": ("f
ile.name": "log/input.go", "file.line":472), "message": "Check file for harvesting:
E:\\logs", "service.name": "filebeat", "input id":"62573012-c959-4a9c-95ba-3fde8a7959dd", "ec
s.version":"1.6.0"}
{"log. level": "debug", "@timestamp":"2022-08-25T17:08:43.005", "log. logger": "input", "log.origin": ("F
ile.name"; "log/input.go", "file-line":570}, "message": "Update
existing file for harvesting:
E: \\logs, offset:
163880", "service.name": "filebeat", "input id": "62573012-c959-4a9c-95ba-3de8a7959dd", "source file"
"E:\\logs", "state id": "native::327680-53-4035249832", "finished": false, "os id': "327680-53
4035249832", "old source": "E: \\logs", "old finished": false, "old os id": "327680-53-403524983
2"
"ecs.version":"1.6.0"]
The system has the logzio certificate installed already and it doesn't use the public cert of logzio from the last line of the code.