I want filebeat to send logs over tls using AES256-SHA cipher, I found cipher_suites option in tls options page of filebeat configuration. But when i used it, I am getting the following error
Exiting: error loading config file: YAML config parsing failed on logstash.yml: yaml: line 15: found character that cannot start any token
Following is my configuration file
filebeat:
prospectors:
-
paths:
- "/root/filebeat/data.log"
input_type: log
document_type: log
registry_file: /var/lib/filebeat/registry
output:
logstash:
hosts: ["10.10.35.66:5044"]
tls:
certificate_authorities: ["/etc/pki/tls/certs/logstash-forwarder.crt"]
cipher_suites: ["AES128/256"]
logging:
to_syslog: false
to_files: true
files:
path: /var/log/filebeat
name: filebeat.log
rotateeverybytes: 10485760
keepfiles: 7
level: debug