Skip to content

Commit

Permalink
fortinet_fortigate - use YAML literal for script source (elastic#6379)
Browse files Browse the repository at this point in the history
All (indented) characters are considered to be content, including white space
characters. This causes the source in the YAML to match the source in the
ingest processor.

https://yaml.org/spec/1.2.2/#812-literal-style
  • Loading branch information
andrewkroh authored and agithomas committed Jun 5, 2023
1 parent d395754 commit fe8575d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ processors:
if: ctx.syslog5424_sd != null
description: |
Splits syslog5424_sd KV list by space and then each by "=" taking into account quoted values.
source:
source: |
def splitUnquoted(String input, String sep) {
def tokens = [];
def startPosition = 0;
Expand Down

0 comments on commit fe8575d

Please sign in to comment.