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

fix 'fields' parse error in prospector.yml template. #7

Merged
merged 1 commit into from Jan 20, 2016

Conversation

r0ckpine
Copy link
Contributor

This patch fixes the 'fields' parse error in template/prospector.yml.erb.
I tested the following pp creates proper yaml.

<test.pp>
...
filebeat::prospector { 'apache':
paths => [
'/var/log/httpd/*.log',
],
log_type => 'apache',
fields => {
service => 'apache',
},
}
...

</etc/filebeat/conf.d/cinder.yml>
filebeat:
prospectors:
- paths:
- /var/log/httpd/*.log
encoding: plain
fields:
service: apache
...
document_type: apache
...

pcfens added a commit that referenced this pull request Jan 20, 2016
fix 'fields' parse error in prospector.yml template.
@pcfens pcfens merged commit 173b40c into pcfens:master Jan 20, 2016
@pcfens
Copy link
Owner

pcfens commented Jan 20, 2016

Thanks for the fix - I incremented the version to v0.3.1 and pushed it up to the forge.

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

Successfully merging this pull request may close these issues.

None yet

2 participants