Skip to content

[OBX-UX-MGMT][BUG] Fix chart in Custom Threshold rule when the field name has slashes #209263

Merged
fkanout merged 1 commit intoelastic:mainfrom
fkanout:201511-fix-chart-with-field-name-slashes
Feb 4, 2025
Merged

[OBX-UX-MGMT][BUG] Fix chart in Custom Threshold rule when the field name has slashes #209263
fkanout merged 1 commit intoelastic:mainfrom
fkanout:201511-fix-chart-with-field-name-slashes

Conversation

@fkanout
Copy link
Contributor

@fkanout fkanout commented Feb 3, 2025

Summary

It fixes #201511

Screenshot 2025-02-03 at 12 51 56

Release notes:

Fix the preview chart in the Custom Threshold rule creation form when the field name has slashes

@fkanout fkanout added bug Fixes for quality problems that affect the customer experience Feature:Alerting backport:prev-minor Team:actionable-obs Formerly "obs-ux-management", responsible for SLO, o11y alerting, significant events, & synthetics. v9.1.0 labels Feb 3, 2025
@fkanout fkanout self-assigned this Feb 3, 2025
@fkanout fkanout requested a review from a team as a code owner February 3, 2025 11:54
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-management-team (Team:obs-ux-management)

Copy link
Contributor

@benakansara benakansara left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
observability 1.3MB 1.3MB +23.0B

cc @fkanout

@fkanout fkanout merged commit ed333de into elastic:main Feb 4, 2025
16 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.16, 8.17, 8.18, 8.x, 9.0

https://github.com/elastic/kibana/actions/runs/13135276212

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Feb 4, 2025
…name has slashes (elastic#209263)

## Summary

It fixes elastic#201511

<img width="680" alt="Screenshot 2025-02-03 at 12 51 56"
src="https://github.com/user-attachments/assets/fe3fa780-c50d-4906-8c5b-6758fea5fe9c"
/>

### Release notes:
Fix the preview chart in the Custom Threshold rule creation form when
the field name has slashes

(cherry picked from commit ed333de)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Feb 4, 2025
…name has slashes (elastic#209263)

## Summary

It fixes elastic#201511

<img width="680" alt="Screenshot 2025-02-03 at 12 51 56"
src="https://github.com/user-attachments/assets/fe3fa780-c50d-4906-8c5b-6758fea5fe9c"
/>

### Release notes:
Fix the preview chart in the Custom Threshold rule creation form when
the field name has slashes

(cherry picked from commit ed333de)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Feb 4, 2025
…name has slashes (elastic#209263)

## Summary

It fixes elastic#201511

<img width="680" alt="Screenshot 2025-02-03 at 12 51 56"
src="https://github.com/user-attachments/assets/fe3fa780-c50d-4906-8c5b-6758fea5fe9c"
/>

### Release notes:
Fix the preview chart in the Custom Threshold rule creation form when
the field name has slashes

(cherry picked from commit ed333de)
@kibanamachine
Copy link
Contributor

💔 Some backports could not be created

Status Branch Result
8.16 Backport failed because of merge conflicts
8.17 Backport failed because of merge conflicts
8.18
8.x
9.0

Note: Successful backport PRs will be merged automatically after passing CI.

Manual backport

To create the backport manually run:

node scripts/backport --pr 209263

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Feb 4, 2025
… field name has slashes (#209263) (#209523)

# Backport

This will backport the following commits from `main` to `8.18`:
- [[OBX-UX-MGMT][BUG] Fix chart in Custom Threshold rule when the field
name has slashes
(#209263)](#209263)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Faisal
Kanout","email":"faisal.kanout@elastic.co"},"sourceCommit":{"committedDate":"2025-02-04T12:18:27Z","message":"[OBX-UX-MGMT][BUG]
Fix chart in Custom Threshold rule when the field name has slashes
(#209263)\n\n## Summary\r\n\r\nIt fixes #201511\r\n\r\n<img
width=\"680\" alt=\"Screenshot 2025-02-03 at 12 51
56\"\r\nsrc=\"https://github.com/user-attachments/assets/fe3fa780-c50d-4906-8c5b-6758fea5fe9c\"\r\n/>\r\n\r\n###
Release notes:\r\nFix the preview chart in the Custom Threshold rule
creation form when\r\nthe field name has
slashes","sha":"ed333de757b67bfeb1e68ec33b64bb238ecc21eb","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","Feature:Alerting","backport:prev-minor","backport:prev-major","Team:obs-ux-management","v9.1.0"],"title":"[OBX-UX-MGMT][BUG]
Fix chart in Custom Threshold rule when the field name has slashes
","number":209263,"url":"https://github.com/elastic/kibana/pull/209263","mergeCommit":{"message":"[OBX-UX-MGMT][BUG]
Fix chart in Custom Threshold rule when the field name has slashes
(#209263)\n\n## Summary\r\n\r\nIt fixes #201511\r\n\r\n<img
width=\"680\" alt=\"Screenshot 2025-02-03 at 12 51
56\"\r\nsrc=\"https://github.com/user-attachments/assets/fe3fa780-c50d-4906-8c5b-6758fea5fe9c\"\r\n/>\r\n\r\n###
Release notes:\r\nFix the preview chart in the Custom Threshold rule
creation form when\r\nthe field name has
slashes","sha":"ed333de757b67bfeb1e68ec33b64bb238ecc21eb"}},"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/209263","number":209263,"mergeCommit":{"message":"[OBX-UX-MGMT][BUG]
Fix chart in Custom Threshold rule when the field name has slashes
(#209263)\n\n## Summary\r\n\r\nIt fixes #201511\r\n\r\n<img
width=\"680\" alt=\"Screenshot 2025-02-03 at 12 51
56\"\r\nsrc=\"https://github.com/user-attachments/assets/fe3fa780-c50d-4906-8c5b-6758fea5fe9c\"\r\n/>\r\n\r\n###
Release notes:\r\nFix the preview chart in the Custom Threshold rule
creation form when\r\nthe field name has
slashes","sha":"ed333de757b67bfeb1e68ec33b64bb238ecc21eb"}}]}]
BACKPORT-->

Co-authored-by: Faisal Kanout <faisal.kanout@elastic.co>
kibanamachine added a commit that referenced this pull request Feb 4, 2025
…field name has slashes (#209263) (#209525)

# Backport

This will backport the following commits from `main` to `9.0`:
- [[OBX-UX-MGMT][BUG] Fix chart in Custom Threshold rule when the field
name has slashes
(#209263)](#209263)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Faisal
Kanout","email":"faisal.kanout@elastic.co"},"sourceCommit":{"committedDate":"2025-02-04T12:18:27Z","message":"[OBX-UX-MGMT][BUG]
Fix chart in Custom Threshold rule when the field name has slashes
(#209263)\n\n## Summary\r\n\r\nIt fixes #201511\r\n\r\n<img
width=\"680\" alt=\"Screenshot 2025-02-03 at 12 51
56\"\r\nsrc=\"https://github.com/user-attachments/assets/fe3fa780-c50d-4906-8c5b-6758fea5fe9c\"\r\n/>\r\n\r\n###
Release notes:\r\nFix the preview chart in the Custom Threshold rule
creation form when\r\nthe field name has
slashes","sha":"ed333de757b67bfeb1e68ec33b64bb238ecc21eb","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","Feature:Alerting","backport:prev-minor","backport:prev-major","Team:obs-ux-management","v9.1.0"],"title":"[OBX-UX-MGMT][BUG]
Fix chart in Custom Threshold rule when the field name has slashes
","number":209263,"url":"https://github.com/elastic/kibana/pull/209263","mergeCommit":{"message":"[OBX-UX-MGMT][BUG]
Fix chart in Custom Threshold rule when the field name has slashes
(#209263)\n\n## Summary\r\n\r\nIt fixes #201511\r\n\r\n<img
width=\"680\" alt=\"Screenshot 2025-02-03 at 12 51
56\"\r\nsrc=\"https://github.com/user-attachments/assets/fe3fa780-c50d-4906-8c5b-6758fea5fe9c\"\r\n/>\r\n\r\n###
Release notes:\r\nFix the preview chart in the Custom Threshold rule
creation form when\r\nthe field name has
slashes","sha":"ed333de757b67bfeb1e68ec33b64bb238ecc21eb"}},"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/209263","number":209263,"mergeCommit":{"message":"[OBX-UX-MGMT][BUG]
Fix chart in Custom Threshold rule when the field name has slashes
(#209263)\n\n## Summary\r\n\r\nIt fixes #201511\r\n\r\n<img
width=\"680\" alt=\"Screenshot 2025-02-03 at 12 51
56\"\r\nsrc=\"https://github.com/user-attachments/assets/fe3fa780-c50d-4906-8c5b-6758fea5fe9c\"\r\n/>\r\n\r\n###
Release notes:\r\nFix the preview chart in the Custom Threshold rule
creation form when\r\nthe field name has
slashes","sha":"ed333de757b67bfeb1e68ec33b64bb238ecc21eb"}}]}]
BACKPORT-->

Co-authored-by: Faisal Kanout <faisal.kanout@elastic.co>
kibanamachine added a commit that referenced this pull request Feb 5, 2025
…field name has slashes (#209263) (#209524)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[OBX-UX-MGMT][BUG] Fix chart in Custom Threshold rule when the field
name has slashes
(#209263)](#209263)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Faisal
Kanout","email":"faisal.kanout@elastic.co"},"sourceCommit":{"committedDate":"2025-02-04T12:18:27Z","message":"[OBX-UX-MGMT][BUG]
Fix chart in Custom Threshold rule when the field name has slashes
(#209263)\n\n## Summary\r\n\r\nIt fixes #201511\r\n\r\n<img
width=\"680\" alt=\"Screenshot 2025-02-03 at 12 51
56\"\r\nsrc=\"https://github.com/user-attachments/assets/fe3fa780-c50d-4906-8c5b-6758fea5fe9c\"\r\n/>\r\n\r\n###
Release notes:\r\nFix the preview chart in the Custom Threshold rule
creation form when\r\nthe field name has
slashes","sha":"ed333de757b67bfeb1e68ec33b64bb238ecc21eb","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","Feature:Alerting","backport:prev-minor","backport:prev-major","Team:obs-ux-management","v9.1.0"],"title":"[OBX-UX-MGMT][BUG]
Fix chart in Custom Threshold rule when the field name has slashes
","number":209263,"url":"https://github.com/elastic/kibana/pull/209263","mergeCommit":{"message":"[OBX-UX-MGMT][BUG]
Fix chart in Custom Threshold rule when the field name has slashes
(#209263)\n\n## Summary\r\n\r\nIt fixes #201511\r\n\r\n<img
width=\"680\" alt=\"Screenshot 2025-02-03 at 12 51
56\"\r\nsrc=\"https://github.com/user-attachments/assets/fe3fa780-c50d-4906-8c5b-6758fea5fe9c\"\r\n/>\r\n\r\n###
Release notes:\r\nFix the preview chart in the Custom Threshold rule
creation form when\r\nthe field name has
slashes","sha":"ed333de757b67bfeb1e68ec33b64bb238ecc21eb"}},"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/209263","number":209263,"mergeCommit":{"message":"[OBX-UX-MGMT][BUG]
Fix chart in Custom Threshold rule when the field name has slashes
(#209263)\n\n## Summary\r\n\r\nIt fixes #201511\r\n\r\n<img
width=\"680\" alt=\"Screenshot 2025-02-03 at 12 51
56\"\r\nsrc=\"https://github.com/user-attachments/assets/fe3fa780-c50d-4906-8c5b-6758fea5fe9c\"\r\n/>\r\n\r\n###
Release notes:\r\nFix the preview chart in the Custom Threshold rule
creation form when\r\nthe field name has
slashes","sha":"ed333de757b67bfeb1e68ec33b64bb238ecc21eb"}}]}]
BACKPORT-->

Co-authored-by: Faisal Kanout <faisal.kanout@elastic.co>
@fkanout
Copy link
Contributor Author

fkanout commented Feb 5, 2025

💔 Some backports could not be created

Status Branch Result
8.17
8.16 An unhandled error occurred. Please see the logs for details

Note: Successful backport PRs will be merged automatically after passing CI.

Manual backport

To create the backport manually run:

node scripts/backport --pr 209263

Questions ?

Please refer to the Backport tool documentation

fkanout added a commit to fkanout/kibana that referenced this pull request Feb 5, 2025
…name has slashes (elastic#209263)

## Summary

It fixes elastic#201511

<img width="680" alt="Screenshot 2025-02-03 at 12 51 56"
src="https://github.com/user-attachments/assets/fe3fa780-c50d-4906-8c5b-6758fea5fe9c"
/>

### Release notes:
Fix the preview chart in the Custom Threshold rule creation form when
the field name has slashes

(cherry picked from commit ed333de)

# Conflicts:
#	x-pack/plugins/observability_solution/observability/public/components/rule_condition_chart/helpers.test.ts
#	x-pack/plugins/observability_solution/observability/public/components/rule_condition_chart/helpers.ts
@fkanout
Copy link
Contributor Author

fkanout commented Feb 5, 2025

💚 All backports created successfully

Status Branch Result
8.16

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

fkanout added a commit that referenced this pull request Feb 6, 2025
… field name has slashes (#209263) (#209712)

# Backport

This will backport the following commits from `main` to `8.17`:
- [[OBX-UX-MGMT][BUG] Fix chart in Custom Threshold rule when the field
name has slashes
(#209263)](#209263)

<!--- Backport version: 9.6.4 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Faisal
Kanout","email":"faisal.kanout@elastic.co"},"sourceCommit":{"committedDate":"2025-02-04T12:18:27Z","message":"[OBX-UX-MGMT][BUG]
Fix chart in Custom Threshold rule when the field name has slashes
(#209263)\n\n## Summary\r\n\r\nIt fixes #201511\r\n\r\n<img
width=\"680\" alt=\"Screenshot 2025-02-03 at 12 51
56\"\r\nsrc=\"https://github.com/user-attachments/assets/fe3fa780-c50d-4906-8c5b-6758fea5fe9c\"\r\n/>\r\n\r\n###
Release notes:\r\nFix the preview chart in the Custom Threshold rule
creation form when\r\nthe field name has
slashes","sha":"ed333de757b67bfeb1e68ec33b64bb238ecc21eb","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","Feature:Alerting","v9.0.0","backport:prev-minor","backport:prev-major","Team:obs-ux-management","v8.18.0","v9.1.0","v8.19.0"],"title":"[OBX-UX-MGMT][BUG]
Fix chart in Custom Threshold rule when the field name has slashes
","number":209263,"url":"https://github.com/elastic/kibana/pull/209263","mergeCommit":{"message":"[OBX-UX-MGMT][BUG]
Fix chart in Custom Threshold rule when the field name has slashes
(#209263)\n\n## Summary\r\n\r\nIt fixes #201511\r\n\r\n<img
width=\"680\" alt=\"Screenshot 2025-02-03 at 12 51
56\"\r\nsrc=\"https://github.com/user-attachments/assets/fe3fa780-c50d-4906-8c5b-6758fea5fe9c\"\r\n/>\r\n\r\n###
Release notes:\r\nFix the preview chart in the Custom Threshold rule
creation form when\r\nthe field name has
slashes","sha":"ed333de757b67bfeb1e68ec33b64bb238ecc21eb"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/209525","number":209525,"state":"MERGED","mergeCommit":{"sha":"e6c252a45321ff691364c5eb024339622c8e70a9","message":"[9.0]
[OBX-UX-MGMT][BUG] Fix chart in Custom Threshold rule when the field
name has slashes (#209263) (#209525)\n\n# Backport\n\nThis will backport
the following commits from `main` to `9.0`:\n- [[OBX-UX-MGMT][BUG] Fix
chart in Custom Threshold rule when the field\nname has
slashes\n(#209263)](https://github.com/elastic/kibana/pull/209263)\n\n<!---
Backport version: 9.4.3 -->\n\n### Questions ?\nPlease refer to the
[Backport
tool\ndocumentation](https://github.com/sqren/backport)\n\n<!--BACKPORT
[{\"author\":{\"name\":\"Faisal\nKanout\",\"email\":\"faisal.kanout@elastic.co\"},\"sourceCommit\":{\"committedDate\":\"2025-02-04T12:18:27Z\",\"message\":\"[OBX-UX-MGMT][BUG]\nFix
chart in Custom Threshold rule when the field name has
slashes\n(#209263)\\n\\n## Summary\\r\\n\\r\\nIt fixes
#201511\\r\\n\\r\\n<img\nwidth=\\\"680\\\" alt=\\\"Screenshot 2025-02-03
at 12
51\n56\\\"\\r\\nsrc=\\\"https://github.com/user-attachments/assets/fe3fa780-c50d-4906-8c5b-6758fea5fe9c\\\"\\r\\n/>\\r\\n\\r\\n###\nRelease
notes:\\r\\nFix the preview chart in the Custom Threshold rule\ncreation
form when\\r\\nthe field name
has\nslashes\",\"sha\":\"ed333de757b67bfeb1e68ec33b64bb238ecc21eb\",\"branchLabelMapping\":{\"^v9.1.0$\":\"main\",\"^v8.19.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"bug\",\"release_note:fix\",\"Feature:Alerting\",\"backport:prev-minor\",\"backport:prev-major\",\"Team:obs-ux-management\",\"v9.1.0\"],\"title\":\"[OBX-UX-MGMT][BUG]\nFix
chart in Custom Threshold rule when the field name has
slashes\n\",\"number\":209263,\"url\":\"https://github.com/elastic/kibana/pull/209263\",\"mergeCommit\":{\"message\":\"[OBX-UX-MGMT][BUG]\nFix
chart in Custom Threshold rule when the field name has
slashes\n(#209263)\\n\\n## Summary\\r\\n\\r\\nIt fixes
#201511\\r\\n\\r\\n<img\nwidth=\\\"680\\\" alt=\\\"Screenshot 2025-02-03
at 12
51\n56\\\"\\r\\nsrc=\\\"https://github.com/user-attachments/assets/fe3fa780-c50d-4906-8c5b-6758fea5fe9c\\\"\\r\\n/>\\r\\n\\r\\n###\nRelease
notes:\\r\\nFix the preview chart in the Custom Threshold rule\ncreation
form when\\r\\nthe field name
has\nslashes\",\"sha\":\"ed333de757b67bfeb1e68ec33b64bb238ecc21eb\"}},\"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/209263\",\"number\":209263,\"mergeCommit\":{\"message\":\"[OBX-UX-MGMT][BUG]\nFix
chart in Custom Threshold rule when the field name has
slashes\n(#209263)\\n\\n## Summary\\r\\n\\r\\nIt fixes
#201511\\r\\n\\r\\n<img\nwidth=\\\"680\\\" alt=\\\"Screenshot 2025-02-03
at 12
51\n56\\\"\\r\\nsrc=\\\"https://github.com/user-attachments/assets/fe3fa780-c50d-4906-8c5b-6758fea5fe9c\\\"\\r\\n/>\\r\\n\\r\\n###\nRelease
notes:\\r\\nFix the preview chart in the Custom Threshold rule\ncreation
form when\\r\\nthe field name
has\nslashes\",\"sha\":\"ed333de757b67bfeb1e68ec33b64bb238ecc21eb\"}}]}]\nBACKPORT-->\n\nCo-authored-by:
Faisal Kanout
<faisal.kanout@elastic.co>"}},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/209523","number":209523,"state":"MERGED","mergeCommit":{"sha":"f6e739b19ec45b8f6eba3e9d4935039f5038f797","message":"[8.18]
[OBX-UX-MGMT][BUG] Fix chart in Custom Threshold rule when the field
name has slashes (#209263) (#209523)\n\n# Backport\n\nThis will backport
the following commits from `main` to `8.18`:\n- [[OBX-UX-MGMT][BUG] Fix
chart in Custom Threshold rule when the field\nname has
slashes\n(#209263)](https://github.com/elastic/kibana/pull/209263)\n\n<!---
Backport version: 9.4.3 -->\n\n### Questions ?\nPlease refer to the
[Backport
tool\ndocumentation](https://github.com/sqren/backport)\n\n<!--BACKPORT
[{\"author\":{\"name\":\"Faisal\nKanout\",\"email\":\"faisal.kanout@elastic.co\"},\"sourceCommit\":{\"committedDate\":\"2025-02-04T12:18:27Z\",\"message\":\"[OBX-UX-MGMT][BUG]\nFix
chart in Custom Threshold rule when the field name has
slashes\n(#209263)\\n\\n## Summary\\r\\n\\r\\nIt fixes
#201511\\r\\n\\r\\n<img\nwidth=\\\"680\\\" alt=\\\"Screenshot 2025-02-03
at 12
51\n56\\\"\\r\\nsrc=\\\"https://github.com/user-attachments/assets/fe3fa780-c50d-4906-8c5b-6758fea5fe9c\\\"\\r\\n/>\\r\\n\\r\\n###\nRelease
notes:\\r\\nFix the preview chart in the Custom Threshold rule\ncreation
form when\\r\\nthe field name
has\nslashes\",\"sha\":\"ed333de757b67bfeb1e68ec33b64bb238ecc21eb\",\"branchLabelMapping\":{\"^v9.1.0$\":\"main\",\"^v8.19.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"bug\",\"release_note:fix\",\"Feature:Alerting\",\"backport:prev-minor\",\"backport:prev-major\",\"Team:obs-ux-management\",\"v9.1.0\"],\"title\":\"[OBX-UX-MGMT][BUG]\nFix
chart in Custom Threshold rule when the field name has
slashes\n\",\"number\":209263,\"url\":\"https://github.com/elastic/kibana/pull/209263\",\"mergeCommit\":{\"message\":\"[OBX-UX-MGMT][BUG]\nFix
chart in Custom Threshold rule when the field name has
slashes\n(#209263)\\n\\n## Summary\\r\\n\\r\\nIt fixes
#201511\\r\\n\\r\\n<img\nwidth=\\\"680\\\" alt=\\\"Screenshot 2025-02-03
at 12
51\n56\\\"\\r\\nsrc=\\\"https://github.com/user-attachments/assets/fe3fa780-c50d-4906-8c5b-6758fea5fe9c\\\"\\r\\n/>\\r\\n\\r\\n###\nRelease
notes:\\r\\nFix the preview chart in the Custom Threshold rule\ncreation
form when\\r\\nthe field name
has\nslashes\",\"sha\":\"ed333de757b67bfeb1e68ec33b64bb238ecc21eb\"}},\"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/209263\",\"number\":209263,\"mergeCommit\":{\"message\":\"[OBX-UX-MGMT][BUG]\nFix
chart in Custom Threshold rule when the field name has
slashes\n(#209263)\\n\\n## Summary\\r\\n\\r\\nIt fixes
#201511\\r\\n\\r\\n<img\nwidth=\\\"680\\\" alt=\\\"Screenshot 2025-02-03
at 12
51\n56\\\"\\r\\nsrc=\\\"https://github.com/user-attachments/assets/fe3fa780-c50d-4906-8c5b-6758fea5fe9c\\\"\\r\\n/>\\r\\n\\r\\n###\nRelease
notes:\\r\\nFix the preview chart in the Custom Threshold rule\ncreation
form when\\r\\nthe field name
has\nslashes\",\"sha\":\"ed333de757b67bfeb1e68ec33b64bb238ecc21eb\"}}]}]\nBACKPORT-->\n\nCo-authored-by:
Faisal Kanout
<faisal.kanout@elastic.co>"}},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/209263","number":209263,"mergeCommit":{"message":"[OBX-UX-MGMT][BUG]
Fix chart in Custom Threshold rule when the field name has slashes
(#209263)\n\n## Summary\r\n\r\nIt fixes #201511\r\n\r\n<img
width=\"680\" alt=\"Screenshot 2025-02-03 at 12 51
56\"\r\nsrc=\"https://github.com/user-attachments/assets/fe3fa780-c50d-4906-8c5b-6758fea5fe9c\"\r\n/>\r\n\r\n###
Release notes:\r\nFix the preview chart in the Custom Threshold rule
creation form when\r\nthe field name has
slashes","sha":"ed333de757b67bfeb1e68ec33b64bb238ecc21eb"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/209524","number":209524,"state":"MERGED","mergeCommit":{"sha":"f228a0643970bb9923f7d5f4361ddf123cc2c94e","message":"[8.x]
[OBX-UX-MGMT][BUG] Fix chart in Custom Threshold rule when the field
name has slashes (#209263) (#209524)\n\n# Backport\n\nThis will backport
the following commits from `main` to `8.x`:\n- [[OBX-UX-MGMT][BUG] Fix
chart in Custom Threshold rule when the field\nname has
slashes\n(#209263)](https://github.com/elastic/kibana/pull/209263)\n\n<!---
Backport version: 9.4.3 -->\n\n### Questions ?\nPlease refer to the
[Backport
tool\ndocumentation](https://github.com/sqren/backport)\n\n<!--BACKPORT
[{\"author\":{\"name\":\"Faisal\nKanout\",\"email\":\"faisal.kanout@elastic.co\"},\"sourceCommit\":{\"committedDate\":\"2025-02-04T12:18:27Z\",\"message\":\"[OBX-UX-MGMT][BUG]\nFix
chart in Custom Threshold rule when the field name has
slashes\n(#209263)\\n\\n## Summary\\r\\n\\r\\nIt fixes
#201511\\r\\n\\r\\n<img\nwidth=\\\"680\\\" alt=\\\"Screenshot 2025-02-03
at 12
51\n56\\\"\\r\\nsrc=\\\"https://github.com/user-attachments/assets/fe3fa780-c50d-4906-8c5b-6758fea5fe9c\\\"\\r\\n/>\\r\\n\\r\\n###\nRelease
notes:\\r\\nFix the preview chart in the Custom Threshold rule\ncreation
form when\\r\\nthe field name
has\nslashes\",\"sha\":\"ed333de757b67bfeb1e68ec33b64bb238ecc21eb\",\"branchLabelMapping\":{\"^v9.1.0$\":\"main\",\"^v8.19.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"bug\",\"release_note:fix\",\"Feature:Alerting\",\"backport:prev-minor\",\"backport:prev-major\",\"Team:obs-ux-management\",\"v9.1.0\"],\"title\":\"[OBX-UX-MGMT][BUG]\nFix
chart in Custom Threshold rule when the field name has
slashes\n\",\"number\":209263,\"url\":\"https://github.com/elastic/kibana/pull/209263\",\"mergeCommit\":{\"message\":\"[OBX-UX-MGMT][BUG]\nFix
chart in Custom Threshold rule when the field name has
slashes\n(#209263)\\n\\n## Summary\\r\\n\\r\\nIt fixes
#201511\\r\\n\\r\\n<img\nwidth=\\\"680\\\" alt=\\\"Screenshot 2025-02-03
at 12
51\n56\\\"\\r\\nsrc=\\\"https://github.com/user-attachments/assets/fe3fa780-c50d-4906-8c5b-6758fea5fe9c\\\"\\r\\n/>\\r\\n\\r\\n###\nRelease
notes:\\r\\nFix the preview chart in the Custom Threshold rule\ncreation
form when\\r\\nthe field name
has\nslashes\",\"sha\":\"ed333de757b67bfeb1e68ec33b64bb238ecc21eb\"}},\"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/209263\",\"number\":209263,\"mergeCommit\":{\"message\":\"[OBX-UX-MGMT][BUG]\nFix
chart in Custom Threshold rule when the field name has
slashes\n(#209263)\\n\\n## Summary\\r\\n\\r\\nIt fixes
#201511\\r\\n\\r\\n<img\nwidth=\\\"680\\\" alt=\\\"Screenshot 2025-02-03
at 12
51\n56\\\"\\r\\nsrc=\\\"https://github.com/user-attachments/assets/fe3fa780-c50d-4906-8c5b-6758fea5fe9c\\\"\\r\\n/>\\r\\n\\r\\n###\nRelease
notes:\\r\\nFix the preview chart in the Custom Threshold rule\ncreation
form when\\r\\nthe field name
has\nslashes\",\"sha\":\"ed333de757b67bfeb1e68ec33b64bb238ecc21eb\"}}]}]\nBACKPORT-->\n\nCo-authored-by:
Faisal Kanout <faisal.kanout@elastic.co>"}}]}] BACKPORT-->
fkanout added a commit that referenced this pull request Feb 6, 2025
… field name has slashes (#209263) (#209717)

# Backport

This will backport the following commits from `main` to `8.16`:
- [[OBX-UX-MGMT][BUG] Fix chart in Custom Threshold rule when the field
name has slashes
(#209263)](#209263)

<!--- Backport version: 9.6.4 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Faisal
Kanout","email":"faisal.kanout@elastic.co"},"sourceCommit":{"committedDate":"2025-02-04T12:18:27Z","message":"[OBX-UX-MGMT][BUG]
Fix chart in Custom Threshold rule when the field name has slashes
(#209263)\n\n## Summary\r\n\r\nIt fixes #201511\r\n\r\n<img
width=\"680\" alt=\"Screenshot 2025-02-03 at 12 51
56\"\r\nsrc=\"https://github.com/user-attachments/assets/fe3fa780-c50d-4906-8c5b-6758fea5fe9c\"\r\n/>\r\n\r\n###
Release notes:\r\nFix the preview chart in the Custom Threshold rule
creation form when\r\nthe field name has
slashes","sha":"ed333de757b67bfeb1e68ec33b64bb238ecc21eb","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","Feature:Alerting","v9.0.0","backport:prev-minor","backport:prev-major","Team:obs-ux-management","v8.18.0","v9.1.0","v8.19.0"],"title":"[OBX-UX-MGMT][BUG]
Fix chart in Custom Threshold rule when the field name has slashes
","number":209263,"url":"https://github.com/elastic/kibana/pull/209263","mergeCommit":{"message":"[OBX-UX-MGMT][BUG]
Fix chart in Custom Threshold rule when the field name has slashes
(#209263)\n\n## Summary\r\n\r\nIt fixes #201511\r\n\r\n<img
width=\"680\" alt=\"Screenshot 2025-02-03 at 12 51
56\"\r\nsrc=\"https://github.com/user-attachments/assets/fe3fa780-c50d-4906-8c5b-6758fea5fe9c\"\r\n/>\r\n\r\n###
Release notes:\r\nFix the preview chart in the Custom Threshold rule
creation form when\r\nthe field name has
slashes","sha":"ed333de757b67bfeb1e68ec33b64bb238ecc21eb"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/209525","number":209525,"state":"MERGED","mergeCommit":{"sha":"e6c252a45321ff691364c5eb024339622c8e70a9","message":"[9.0]
[OBX-UX-MGMT][BUG] Fix chart in Custom Threshold rule when the field
name has slashes (#209263) (#209525)\n\n# Backport\n\nThis will backport
the following commits from `main` to `9.0`:\n- [[OBX-UX-MGMT][BUG] Fix
chart in Custom Threshold rule when the field\nname has
slashes\n(#209263)](https://github.com/elastic/kibana/pull/209263)\n\n<!---
Backport version: 9.4.3 -->\n\n### Questions ?\nPlease refer to the
[Backport
tool\ndocumentation](https://github.com/sqren/backport)\n\n<!--BACKPORT
[{\"author\":{\"name\":\"Faisal\nKanout\",\"email\":\"faisal.kanout@elastic.co\"},\"sourceCommit\":{\"committedDate\":\"2025-02-04T12:18:27Z\",\"message\":\"[OBX-UX-MGMT][BUG]\nFix
chart in Custom Threshold rule when the field name has
slashes\n(#209263)\\n\\n## Summary\\r\\n\\r\\nIt fixes
#201511\\r\\n\\r\\n<img\nwidth=\\\"680\\\" alt=\\\"Screenshot 2025-02-03
at 12
51\n56\\\"\\r\\nsrc=\\\"https://github.com/user-attachments/assets/fe3fa780-c50d-4906-8c5b-6758fea5fe9c\\\"\\r\\n/>\\r\\n\\r\\n###\nRelease
notes:\\r\\nFix the preview chart in the Custom Threshold rule\ncreation
form when\\r\\nthe field name
has\nslashes\",\"sha\":\"ed333de757b67bfeb1e68ec33b64bb238ecc21eb\",\"branchLabelMapping\":{\"^v9.1.0$\":\"main\",\"^v8.19.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"bug\",\"release_note:fix\",\"Feature:Alerting\",\"backport:prev-minor\",\"backport:prev-major\",\"Team:obs-ux-management\",\"v9.1.0\"],\"title\":\"[OBX-UX-MGMT][BUG]\nFix
chart in Custom Threshold rule when the field name has
slashes\n\",\"number\":209263,\"url\":\"https://github.com/elastic/kibana/pull/209263\",\"mergeCommit\":{\"message\":\"[OBX-UX-MGMT][BUG]\nFix
chart in Custom Threshold rule when the field name has
slashes\n(#209263)\\n\\n## Summary\\r\\n\\r\\nIt fixes
#201511\\r\\n\\r\\n<img\nwidth=\\\"680\\\" alt=\\\"Screenshot 2025-02-03
at 12
51\n56\\\"\\r\\nsrc=\\\"https://github.com/user-attachments/assets/fe3fa780-c50d-4906-8c5b-6758fea5fe9c\\\"\\r\\n/>\\r\\n\\r\\n###\nRelease
notes:\\r\\nFix the preview chart in the Custom Threshold rule\ncreation
form when\\r\\nthe field name
has\nslashes\",\"sha\":\"ed333de757b67bfeb1e68ec33b64bb238ecc21eb\"}},\"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/209263\",\"number\":209263,\"mergeCommit\":{\"message\":\"[OBX-UX-MGMT][BUG]\nFix
chart in Custom Threshold rule when the field name has
slashes\n(#209263)\\n\\n## Summary\\r\\n\\r\\nIt fixes
#201511\\r\\n\\r\\n<img\nwidth=\\\"680\\\" alt=\\\"Screenshot 2025-02-03
at 12
51\n56\\\"\\r\\nsrc=\\\"https://github.com/user-attachments/assets/fe3fa780-c50d-4906-8c5b-6758fea5fe9c\\\"\\r\\n/>\\r\\n\\r\\n###\nRelease
notes:\\r\\nFix the preview chart in the Custom Threshold rule\ncreation
form when\\r\\nthe field name
has\nslashes\",\"sha\":\"ed333de757b67bfeb1e68ec33b64bb238ecc21eb\"}}]}]\nBACKPORT-->\n\nCo-authored-by:
Faisal Kanout
<faisal.kanout@elastic.co>"}},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/209523","number":209523,"state":"MERGED","mergeCommit":{"sha":"f6e739b19ec45b8f6eba3e9d4935039f5038f797","message":"[8.18]
[OBX-UX-MGMT][BUG] Fix chart in Custom Threshold rule when the field
name has slashes (#209263) (#209523)\n\n# Backport\n\nThis will backport
the following commits from `main` to `8.18`:\n- [[OBX-UX-MGMT][BUG] Fix
chart in Custom Threshold rule when the field\nname has
slashes\n(#209263)](https://github.com/elastic/kibana/pull/209263)\n\n<!---
Backport version: 9.4.3 -->\n\n### Questions ?\nPlease refer to the
[Backport
tool\ndocumentation](https://github.com/sqren/backport)\n\n<!--BACKPORT
[{\"author\":{\"name\":\"Faisal\nKanout\",\"email\":\"faisal.kanout@elastic.co\"},\"sourceCommit\":{\"committedDate\":\"2025-02-04T12:18:27Z\",\"message\":\"[OBX-UX-MGMT][BUG]\nFix
chart in Custom Threshold rule when the field name has
slashes\n(#209263)\\n\\n## Summary\\r\\n\\r\\nIt fixes
#201511\\r\\n\\r\\n<img\nwidth=\\\"680\\\" alt=\\\"Screenshot 2025-02-03
at 12
51\n56\\\"\\r\\nsrc=\\\"https://github.com/user-attachments/assets/fe3fa780-c50d-4906-8c5b-6758fea5fe9c\\\"\\r\\n/>\\r\\n\\r\\n###\nRelease
notes:\\r\\nFix the preview chart in the Custom Threshold rule\ncreation
form when\\r\\nthe field name
has\nslashes\",\"sha\":\"ed333de757b67bfeb1e68ec33b64bb238ecc21eb\",\"branchLabelMapping\":{\"^v9.1.0$\":\"main\",\"^v8.19.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"bug\",\"release_note:fix\",\"Feature:Alerting\",\"backport:prev-minor\",\"backport:prev-major\",\"Team:obs-ux-management\",\"v9.1.0\"],\"title\":\"[OBX-UX-MGMT][BUG]\nFix
chart in Custom Threshold rule when the field name has
slashes\n\",\"number\":209263,\"url\":\"https://github.com/elastic/kibana/pull/209263\",\"mergeCommit\":{\"message\":\"[OBX-UX-MGMT][BUG]\nFix
chart in Custom Threshold rule when the field name has
slashes\n(#209263)\\n\\n## Summary\\r\\n\\r\\nIt fixes
#201511\\r\\n\\r\\n<img\nwidth=\\\"680\\\" alt=\\\"Screenshot 2025-02-03
at 12
51\n56\\\"\\r\\nsrc=\\\"https://github.com/user-attachments/assets/fe3fa780-c50d-4906-8c5b-6758fea5fe9c\\\"\\r\\n/>\\r\\n\\r\\n###\nRelease
notes:\\r\\nFix the preview chart in the Custom Threshold rule\ncreation
form when\\r\\nthe field name
has\nslashes\",\"sha\":\"ed333de757b67bfeb1e68ec33b64bb238ecc21eb\"}},\"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/209263\",\"number\":209263,\"mergeCommit\":{\"message\":\"[OBX-UX-MGMT][BUG]\nFix
chart in Custom Threshold rule when the field name has
slashes\n(#209263)\\n\\n## Summary\\r\\n\\r\\nIt fixes
#201511\\r\\n\\r\\n<img\nwidth=\\\"680\\\" alt=\\\"Screenshot 2025-02-03
at 12
51\n56\\\"\\r\\nsrc=\\\"https://github.com/user-attachments/assets/fe3fa780-c50d-4906-8c5b-6758fea5fe9c\\\"\\r\\n/>\\r\\n\\r\\n###\nRelease
notes:\\r\\nFix the preview chart in the Custom Threshold rule\ncreation
form when\\r\\nthe field name
has\nslashes\",\"sha\":\"ed333de757b67bfeb1e68ec33b64bb238ecc21eb\"}}]}]\nBACKPORT-->\n\nCo-authored-by:
Faisal Kanout
<faisal.kanout@elastic.co>"}},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/209263","number":209263,"mergeCommit":{"message":"[OBX-UX-MGMT][BUG]
Fix chart in Custom Threshold rule when the field name has slashes
(#209263)\n\n## Summary\r\n\r\nIt fixes #201511\r\n\r\n<img
width=\"680\" alt=\"Screenshot 2025-02-03 at 12 51
56\"\r\nsrc=\"https://github.com/user-attachments/assets/fe3fa780-c50d-4906-8c5b-6758fea5fe9c\"\r\n/>\r\n\r\n###
Release notes:\r\nFix the preview chart in the Custom Threshold rule
creation form when\r\nthe field name has
slashes","sha":"ed333de757b67bfeb1e68ec33b64bb238ecc21eb"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/209524","number":209524,"state":"MERGED","mergeCommit":{"sha":"f228a0643970bb9923f7d5f4361ddf123cc2c94e","message":"[8.x]
[OBX-UX-MGMT][BUG] Fix chart in Custom Threshold rule when the field
name has slashes (#209263) (#209524)\n\n# Backport\n\nThis will backport
the following commits from `main` to `8.x`:\n- [[OBX-UX-MGMT][BUG] Fix
chart in Custom Threshold rule when the field\nname has
slashes\n(#209263)](https://github.com/elastic/kibana/pull/209263)\n\n<!---
Backport version: 9.4.3 -->\n\n### Questions ?\nPlease refer to the
[Backport
tool\ndocumentation](https://github.com/sqren/backport)\n\n<!--BACKPORT
[{\"author\":{\"name\":\"Faisal\nKanout\",\"email\":\"faisal.kanout@elastic.co\"},\"sourceCommit\":{\"committedDate\":\"2025-02-04T12:18:27Z\",\"message\":\"[OBX-UX-MGMT][BUG]\nFix
chart in Custom Threshold rule when the field name has
slashes\n(#209263)\\n\\n## Summary\\r\\n\\r\\nIt fixes
#201511\\r\\n\\r\\n<img\nwidth=\\\"680\\\" alt=\\\"Screenshot 2025-02-03
at 12
51\n56\\\"\\r\\nsrc=\\\"https://github.com/user-attachments/assets/fe3fa780-c50d-4906-8c5b-6758fea5fe9c\\\"\\r\\n/>\\r\\n\\r\\n###\nRelease
notes:\\r\\nFix the preview chart in the Custom Threshold rule\ncreation
form when\\r\\nthe field name
has\nslashes\",\"sha\":\"ed333de757b67bfeb1e68ec33b64bb238ecc21eb\",\"branchLabelMapping\":{\"^v9.1.0$\":\"main\",\"^v8.19.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"bug\",\"release_note:fix\",\"Feature:Alerting\",\"backport:prev-minor\",\"backport:prev-major\",\"Team:obs-ux-management\",\"v9.1.0\"],\"title\":\"[OBX-UX-MGMT][BUG]\nFix
chart in Custom Threshold rule when the field name has
slashes\n\",\"number\":209263,\"url\":\"https://github.com/elastic/kibana/pull/209263\",\"mergeCommit\":{\"message\":\"[OBX-UX-MGMT][BUG]\nFix
chart in Custom Threshold rule when the field name has
slashes\n(#209263)\\n\\n## Summary\\r\\n\\r\\nIt fixes
#201511\\r\\n\\r\\n<img\nwidth=\\\"680\\\" alt=\\\"Screenshot 2025-02-03
at 12
51\n56\\\"\\r\\nsrc=\\\"https://github.com/user-attachments/assets/fe3fa780-c50d-4906-8c5b-6758fea5fe9c\\\"\\r\\n/>\\r\\n\\r\\n###\nRelease
notes:\\r\\nFix the preview chart in the Custom Threshold rule\ncreation
form when\\r\\nthe field name
has\nslashes\",\"sha\":\"ed333de757b67bfeb1e68ec33b64bb238ecc21eb\"}},\"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/209263\",\"number\":209263,\"mergeCommit\":{\"message\":\"[OBX-UX-MGMT][BUG]\nFix
chart in Custom Threshold rule when the field name has
slashes\n(#209263)\\n\\n## Summary\\r\\n\\r\\nIt fixes
#201511\\r\\n\\r\\n<img\nwidth=\\\"680\\\" alt=\\\"Screenshot 2025-02-03
at 12
51\n56\\\"\\r\\nsrc=\\\"https://github.com/user-attachments/assets/fe3fa780-c50d-4906-8c5b-6758fea5fe9c\\\"\\r\\n/>\\r\\n\\r\\n###\nRelease
notes:\\r\\nFix the preview chart in the Custom Threshold rule\ncreation
form when\\r\\nthe field name
has\nslashes\",\"sha\":\"ed333de757b67bfeb1e68ec33b64bb238ecc21eb\"}}]}]\nBACKPORT-->\n\nCo-authored-by:
Faisal Kanout
<faisal.kanout@elastic.co>"}},{"url":"https://github.com/elastic/kibana/pull/209712","number":209712,"branch":"8.17","state":"OPEN"}]}]
BACKPORT-->
drewdaemon pushed a commit to drewdaemon/kibana that referenced this pull request Feb 6, 2025
…name has slashes (elastic#209263)

## Summary

It fixes elastic#201511

<img width="680" alt="Screenshot 2025-02-03 at 12 51 56"
src="https://github.com/user-attachments/assets/fe3fa780-c50d-4906-8c5b-6758fea5fe9c"
/>

### Release notes:
Fix the preview chart in the Custom Threshold rule creation form when
the field name has slashes
@mistic mistic added v8.17.3 and removed v8.17.2 labels Feb 11, 2025
@mistic
Copy link
Contributor

mistic commented Feb 11, 2025

This PR didn't make it into the latest BC for v8.17.2. Updating the labels.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Fixes for quality problems that affect the customer experience Feature:Alerting release_note:fix Team:actionable-obs Formerly "obs-ux-management", responsible for SLO, o11y alerting, significant events, & synthetics. v8.16.4 v8.17.3 v8.18.0 v8.19.0 v9.0.0 v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Custom threshold UI issue when a field has a slash in the field name.

5 participants