Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect indentation and/or mixed format in filebeat.yml causing service to not start #53

Closed
kobybr opened this issue Nov 7, 2016 · 1 comment

Comments

@kobybr
Copy link
Contributor

kobybr commented Nov 7, 2016

Filebeat.yml extract:
#================================ Outputs =====================================

#----------------------------- Logstash output --------------------------------
output.logstash:
hosts:
- logstash.********************

enabled: true
certificate_authorities:
  - /var/lib/*********************
certificate: "/var/lib/***************************"
key: "/var/lib/*********************************"

Error message:

service filebeat start

Starting filebeat: Exiting: error loading config file: yaml: line 59: did not find expected '-' indicator

expanding output.logstash to
output:
logstash:

fixes the problem as does removing the two leading spaces on the enabled, certifcate_authorities, certificate, and key.

@pcfens pcfens closed this as completed in b29ac31 Nov 7, 2016
@pcfens
Copy link
Owner

pcfens commented Nov 7, 2016

All fixed in v0.8.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants