-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Automatic Import] Fix Structured log template to use single quotes #209736
Conversation
Pinging @elastic/security-scalability (Team:Security-Scalability) |
Starting backport for target branches: 9.0 https://github.com/elastic/kibana/actions/runs/13157781955 |
💚 Build Succeeded
Metrics [docs]
cc @bhapas |
…lastic#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. (cherry picked from commit 8181858)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
Starting backport for target branches: 8.16, 8.17, 8.18, 8.x, 9.0 https://github.com/elastic/kibana/actions/runs/13159523476 |
…lastic#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. (cherry picked from commit 8181858)
…lastic#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. (cherry picked from commit 8181858)
…lastic#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. (cherry picked from commit 8181858)
…lastic#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. (cherry picked from commit 8181858)
…lastic#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. (cherry picked from commit 8181858)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…uotes (#209736) (#209782) # Backport This will backport the following commits from `main` to `8.18`: - [[Automatic Import] Fix Structured log template to use single quotes (#209736)](#209736) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Bharat Pasupula","email":"123897612+bhapas@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-02-05T12:52:04Z","message":"[Automatic Import] Fix Structured log template to use single quotes (#209736)\n\n## Release Note\r\n\r\nFix Structured log template to use single quotes\r\n\r\n### Summary\r\n\r\nCurrently with a single backslash as escape character the template is\r\nsetting up a double quote surrounding it and it causes YAML Exception\r\n```\r\n 1 | - kv:\r\n 2 | field: message\r\n 3 | field_split: \"\\|\"\r\n--------------------------^\r\n\r\nYAMLException: unknown escape sequence (3:22)\r\n```\r\n\r\nThis PR fixes to use single quotes to not break YAML parsing.","sha":"8181858385efdc099b9ac517afe58ef6d1ba18a6","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","backport:prev-minor","backport:prev-major","Team:Security-Scalability","Feature:AutomaticImport","backport:8.17","v9.1.0","backport:8.18"],"title":"[Automatic Import] Fix Structured log template to use single quotes","number":209736,"url":"https://github.com/elastic/kibana/pull/209736","mergeCommit":{"message":"[Automatic Import] Fix Structured log template to use single quotes (#209736)\n\n## Release Note\r\n\r\nFix Structured log template to use single quotes\r\n\r\n### Summary\r\n\r\nCurrently with a single backslash as escape character the template is\r\nsetting up a double quote surrounding it and it causes YAML Exception\r\n```\r\n 1 | - kv:\r\n 2 | field: message\r\n 3 | field_split: \"\\|\"\r\n--------------------------^\r\n\r\nYAMLException: unknown escape sequence (3:22)\r\n```\r\n\r\nThis PR fixes to use single quotes to not break YAML parsing.","sha":"8181858385efdc099b9ac517afe58ef6d1ba18a6"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/209736","number":209736,"mergeCommit":{"message":"[Automatic Import] Fix Structured log template to use single quotes (#209736)\n\n## Release Note\r\n\r\nFix Structured log template to use single quotes\r\n\r\n### Summary\r\n\r\nCurrently with a single backslash as escape character the template is\r\nsetting up a double quote surrounding it and it causes YAML Exception\r\n```\r\n 1 | - kv:\r\n 2 | field: message\r\n 3 | field_split: \"\\|\"\r\n--------------------------^\r\n\r\nYAMLException: unknown escape sequence (3:22)\r\n```\r\n\r\nThis PR fixes to use single quotes to not break YAML parsing.","sha":"8181858385efdc099b9ac517afe58ef6d1ba18a6"}},{"url":"https://github.com/elastic/kibana/pull/209757","number":209757,"branch":"9.0","state":"OPEN"}]}] BACKPORT--> Co-authored-by: Bharat Pasupula <123897612+bhapas@users.noreply.github.com>
…otes (#209736) (#209783) # Backport This will backport the following commits from `main` to `8.x`: - [[Automatic Import] Fix Structured log template to use single quotes (#209736)](#209736) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Bharat Pasupula","email":"123897612+bhapas@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-02-05T12:52:04Z","message":"[Automatic Import] Fix Structured log template to use single quotes (#209736)\n\n## Release Note\r\n\r\nFix Structured log template to use single quotes\r\n\r\n### Summary\r\n\r\nCurrently with a single backslash as escape character the template is\r\nsetting up a double quote surrounding it and it causes YAML Exception\r\n```\r\n 1 | - kv:\r\n 2 | field: message\r\n 3 | field_split: \"\\|\"\r\n--------------------------^\r\n\r\nYAMLException: unknown escape sequence (3:22)\r\n```\r\n\r\nThis PR fixes to use single quotes to not break YAML parsing.","sha":"8181858385efdc099b9ac517afe58ef6d1ba18a6","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","backport:prev-minor","backport:prev-major","Team:Security-Scalability","Feature:AutomaticImport","backport:8.17","v9.1.0","backport:8.18"],"title":"[Automatic Import] Fix Structured log template to use single quotes","number":209736,"url":"https://github.com/elastic/kibana/pull/209736","mergeCommit":{"message":"[Automatic Import] Fix Structured log template to use single quotes (#209736)\n\n## Release Note\r\n\r\nFix Structured log template to use single quotes\r\n\r\n### Summary\r\n\r\nCurrently with a single backslash as escape character the template is\r\nsetting up a double quote surrounding it and it causes YAML Exception\r\n```\r\n 1 | - kv:\r\n 2 | field: message\r\n 3 | field_split: \"\\|\"\r\n--------------------------^\r\n\r\nYAMLException: unknown escape sequence (3:22)\r\n```\r\n\r\nThis PR fixes to use single quotes to not break YAML parsing.","sha":"8181858385efdc099b9ac517afe58ef6d1ba18a6"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/209736","number":209736,"mergeCommit":{"message":"[Automatic Import] Fix Structured log template to use single quotes (#209736)\n\n## Release Note\r\n\r\nFix Structured log template to use single quotes\r\n\r\n### Summary\r\n\r\nCurrently with a single backslash as escape character the template is\r\nsetting up a double quote surrounding it and it causes YAML Exception\r\n```\r\n 1 | - kv:\r\n 2 | field: message\r\n 3 | field_split: \"\\|\"\r\n--------------------------^\r\n\r\nYAMLException: unknown escape sequence (3:22)\r\n```\r\n\r\nThis PR fixes to use single quotes to not break YAML parsing.","sha":"8181858385efdc099b9ac517afe58ef6d1ba18a6"}},{"url":"https://github.com/elastic/kibana/pull/209757","number":209757,"branch":"9.0","state":"OPEN"}]}] BACKPORT--> Co-authored-by: Bharat Pasupula <123897612+bhapas@users.noreply.github.com>
…uotes (#209736) (#209781) # Backport This will backport the following commits from `main` to `8.17`: - [[Automatic Import] Fix Structured log template to use single quotes (#209736)](#209736) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Bharat Pasupula","email":"123897612+bhapas@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-02-05T12:52:04Z","message":"[Automatic Import] Fix Structured log template to use single quotes (#209736)\n\n## Release Note\r\n\r\nFix Structured log template to use single quotes\r\n\r\n### Summary\r\n\r\nCurrently with a single backslash as escape character the template is\r\nsetting up a double quote surrounding it and it causes YAML Exception\r\n```\r\n 1 | - kv:\r\n 2 | field: message\r\n 3 | field_split: \"\\|\"\r\n--------------------------^\r\n\r\nYAMLException: unknown escape sequence (3:22)\r\n```\r\n\r\nThis PR fixes to use single quotes to not break YAML parsing.","sha":"8181858385efdc099b9ac517afe58ef6d1ba18a6","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","backport:prev-minor","backport:prev-major","Team:Security-Scalability","Feature:AutomaticImport","backport:8.17","v9.1.0","backport:8.18"],"title":"[Automatic Import] Fix Structured log template to use single quotes","number":209736,"url":"https://github.com/elastic/kibana/pull/209736","mergeCommit":{"message":"[Automatic Import] Fix Structured log template to use single quotes (#209736)\n\n## Release Note\r\n\r\nFix Structured log template to use single quotes\r\n\r\n### Summary\r\n\r\nCurrently with a single backslash as escape character the template is\r\nsetting up a double quote surrounding it and it causes YAML Exception\r\n```\r\n 1 | - kv:\r\n 2 | field: message\r\n 3 | field_split: \"\\|\"\r\n--------------------------^\r\n\r\nYAMLException: unknown escape sequence (3:22)\r\n```\r\n\r\nThis PR fixes to use single quotes to not break YAML parsing.","sha":"8181858385efdc099b9ac517afe58ef6d1ba18a6"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/209736","number":209736,"mergeCommit":{"message":"[Automatic Import] Fix Structured log template to use single quotes (#209736)\n\n## Release Note\r\n\r\nFix Structured log template to use single quotes\r\n\r\n### Summary\r\n\r\nCurrently with a single backslash as escape character the template is\r\nsetting up a double quote surrounding it and it causes YAML Exception\r\n```\r\n 1 | - kv:\r\n 2 | field: message\r\n 3 | field_split: \"\\|\"\r\n--------------------------^\r\n\r\nYAMLException: unknown escape sequence (3:22)\r\n```\r\n\r\nThis PR fixes to use single quotes to not break YAML parsing.","sha":"8181858385efdc099b9ac517afe58ef6d1ba18a6"}},{"url":"https://github.com/elastic/kibana/pull/209757","number":209757,"branch":"9.0","state":"OPEN"}]}] BACKPORT--> Co-authored-by: Bharat Pasupula <123897612+bhapas@users.noreply.github.com>
…otes (#209736) (#209757) # Backport This will backport the following commits from `main` to `9.0`: - [[Automatic Import] Fix Structured log template to use single quotes (#209736)](#209736) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Bharat Pasupula","email":"123897612+bhapas@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-02-05T12:52:04Z","message":"[Automatic Import] Fix Structured log template to use single quotes (#209736)\n\n## Release Note\r\n\r\nFix Structured log template to use single quotes\r\n\r\n### Summary\r\n\r\nCurrently with a single backslash as escape character the template is\r\nsetting up a double quote surrounding it and it causes YAML Exception\r\n```\r\n 1 | - kv:\r\n 2 | field: message\r\n 3 | field_split: \"\\|\"\r\n--------------------------^\r\n\r\nYAMLException: unknown escape sequence (3:22)\r\n```\r\n\r\nThis PR fixes to use single quotes to not break YAML parsing.","sha":"8181858385efdc099b9ac517afe58ef6d1ba18a6","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","backport:prev-minor","Team:Security-Scalability","Feature:AutomaticImport","backport:8.17","v9.1.0","backport:8.18"],"title":"[Automatic Import] Fix Structured log template to use single quotes","number":209736,"url":"https://github.com/elastic/kibana/pull/209736","mergeCommit":{"message":"[Automatic Import] Fix Structured log template to use single quotes (#209736)\n\n## Release Note\r\n\r\nFix Structured log template to use single quotes\r\n\r\n### Summary\r\n\r\nCurrently with a single backslash as escape character the template is\r\nsetting up a double quote surrounding it and it causes YAML Exception\r\n```\r\n 1 | - kv:\r\n 2 | field: message\r\n 3 | field_split: \"\\|\"\r\n--------------------------^\r\n\r\nYAMLException: unknown escape sequence (3:22)\r\n```\r\n\r\nThis PR fixes to use single quotes to not break YAML parsing.","sha":"8181858385efdc099b9ac517afe58ef6d1ba18a6"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/209736","number":209736,"mergeCommit":{"message":"[Automatic Import] Fix Structured log template to use single quotes (#209736)\n\n## Release Note\r\n\r\nFix Structured log template to use single quotes\r\n\r\n### Summary\r\n\r\nCurrently with a single backslash as escape character the template is\r\nsetting up a double quote surrounding it and it causes YAML Exception\r\n```\r\n 1 | - kv:\r\n 2 | field: message\r\n 3 | field_split: \"\\|\"\r\n--------------------------^\r\n\r\nYAMLException: unknown escape sequence (3:22)\r\n```\r\n\r\nThis PR fixes to use single quotes to not break YAML parsing.","sha":"8181858385efdc099b9ac517afe58ef6d1ba18a6"}}]}] BACKPORT--> Co-authored-by: Bharat Pasupula <123897612+bhapas@users.noreply.github.com>
…uotes (#209736) (#209780) # Backport This will backport the following commits from `main` to `8.16`: - [[Automatic Import] Fix Structured log template to use single quotes (#209736)](#209736) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Bharat Pasupula","email":"123897612+bhapas@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-02-05T12:52:04Z","message":"[Automatic Import] Fix Structured log template to use single quotes (#209736)\n\n## Release Note\r\n\r\nFix Structured log template to use single quotes\r\n\r\n### Summary\r\n\r\nCurrently with a single backslash as escape character the template is\r\nsetting up a double quote surrounding it and it causes YAML Exception\r\n```\r\n 1 | - kv:\r\n 2 | field: message\r\n 3 | field_split: \"\\|\"\r\n--------------------------^\r\n\r\nYAMLException: unknown escape sequence (3:22)\r\n```\r\n\r\nThis PR fixes to use single quotes to not break YAML parsing.","sha":"8181858385efdc099b9ac517afe58ef6d1ba18a6","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","backport:prev-minor","backport:prev-major","Team:Security-Scalability","Feature:AutomaticImport","backport:8.17","v9.1.0","backport:8.18"],"title":"[Automatic Import] Fix Structured log template to use single quotes","number":209736,"url":"https://github.com/elastic/kibana/pull/209736","mergeCommit":{"message":"[Automatic Import] Fix Structured log template to use single quotes (#209736)\n\n## Release Note\r\n\r\nFix Structured log template to use single quotes\r\n\r\n### Summary\r\n\r\nCurrently with a single backslash as escape character the template is\r\nsetting up a double quote surrounding it and it causes YAML Exception\r\n```\r\n 1 | - kv:\r\n 2 | field: message\r\n 3 | field_split: \"\\|\"\r\n--------------------------^\r\n\r\nYAMLException: unknown escape sequence (3:22)\r\n```\r\n\r\nThis PR fixes to use single quotes to not break YAML parsing.","sha":"8181858385efdc099b9ac517afe58ef6d1ba18a6"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/209736","number":209736,"mergeCommit":{"message":"[Automatic Import] Fix Structured log template to use single quotes (#209736)\n\n## Release Note\r\n\r\nFix Structured log template to use single quotes\r\n\r\n### Summary\r\n\r\nCurrently with a single backslash as escape character the template is\r\nsetting up a double quote surrounding it and it causes YAML Exception\r\n```\r\n 1 | - kv:\r\n 2 | field: message\r\n 3 | field_split: \"\\|\"\r\n--------------------------^\r\n\r\nYAMLException: unknown escape sequence (3:22)\r\n```\r\n\r\nThis PR fixes to use single quotes to not break YAML parsing.","sha":"8181858385efdc099b9ac517afe58ef6d1ba18a6"}},{"url":"https://github.com/elastic/kibana/pull/209757","number":209757,"branch":"9.0","state":"OPEN"}]}] BACKPORT--> Co-authored-by: Bharat Pasupula <123897612+bhapas@users.noreply.github.com>
…lastic#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.
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
This PR fixes to use single quotes to not break YAML parsing.