-
Notifications
You must be signed in to change notification settings - Fork 387
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix multi-line string handling for config variable
The default value for `fdr_parsing_script` is a multline line string. When the handlebar template was evaluated this created invalid YAML. By changing the variable type to 'yaml' Kibana produces config that is valid. It looks like sqs.notification_parse_script: >- function parse(n) { var m = JSON.parse(n); var evts = []; var files = m.files; ... I cannot find any documentation for the 'yaml' variable type so I hoping this is how it was expected to be used.
- Loading branch information
1 parent
b8b2751
commit 225ff2f
Showing
4 changed files
with
9 additions
and
4 deletions.
There are no files selected for viewing
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
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
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
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