mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[Automatic Import] Fix Structured log template to use single quotes (#209736)
## Release Note Fix Structured log template to use single quotes ### Summary Currently with a single backslash as escape character the template is setting up a double quote surrounding it and it causes YAML Exception ``` 1 | - kv: 2 | field: message 3 | field_split: "\|" --------------------------^ YAMLException: unknown escape sequence (3:22) ``` This PR fixes to use single quotes to not break YAML parsing.
This commit is contained in:
parent
70989af677
commit
8181858385
1 changed files with 5 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
|||
- kv:
|
||||
field: message
|
||||
field_split: "{{ kvInput.field_split }}"
|
||||
value_split: "{{ kvInput.value_split }}"
|
||||
trim_key: "{{ kvInput.trim_key }}"
|
||||
trim_value: "{{ kvInput.trim_value }}"
|
||||
target_field: "{{ packageName }}.{{ dataStreamName }}"
|
||||
field_split: '{{ kvInput.field_split }}'
|
||||
value_split: '{{ kvInput.value_split }}'
|
||||
trim_key: '{{ kvInput.trim_key }}'
|
||||
trim_value: '{{ kvInput.trim_value }}'
|
||||
target_field: '{{ packageName }}.{{ dataStreamName }}'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue