Created
May 12, 2015 20:34
-
-
Save anonymous/d20990f74afe8d7ca9dc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% raw %} | |
{ | |
"paths": [ | |
"/var/log/messages", | |
"/var/log/secure", | |
"/var/log/redis/redis.log", | |
"/var/log/redis/sentinel.log" | |
{{ ']' }}, | |
"fields": { "type": "syslog" } | |
} | |
{% endraw %} | |
Result: | |
local: | |
Data failed to compile: | |
---------- | |
Rendering SLS 'base:states/logstash-forwarder' failed: Unknown yaml render error; line 21 | |
--- | |
[...] | |
- marker_start: "# LOG PATHS" | |
- marker_end: "# END LOG PATHS" | |
- content: | | |
{ | |
"paths": [ <====================== | |
"/var/log/messages", | |
"/var/log/secure", | |
"/var/log/redis/redis.log", | |
"/var/log/redis/sentinel.log" | |
], | |
[...] | |
--- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment