Skip to content

Instantly share code, notes, and snippets.

Created April 25, 2017 16:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/02e6335957e66f23c3e3b8e941e56451 to your computer and use it in GitHub Desktop.
Save anonymous/02e6335957e66f23c3e3b8e941e56451 to your computer and use it in GitHub Desktop.
filebeat pillar render precedence
for example, a pillar file named webserver.sls would contain:
filebeat:
log_paths:
-
paths:
- /var/log/httpd.log
then a pillar file called postgres.sls might contain:
filebeat:
log_paths:
-
paths:
- /var/log/postgres.log
then if a server had both pillars assigned in top.sls, then both paths would render in the filebeat.yml, is this supported or am i doing this wrong?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment