Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.15] [Synthetics] Update parsing to skip replacing missing values (e…
…lastic#192662) (elastic#192752) # Backport This will backport the following commits from `main` to `8.15`: - [[Synthetics] Update parsing to skip replacing missing values (elastic#192662)](elastic#192662) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Shahzad","email":"shahzad31comp@gmail.com"},"sourceCommit":{"committedDate":"2024-09-12T17:20:02Z","message":"[Synthetics] Update parsing to skip replacing missing values (elastic#192662)\n\n## Summary\n\nBased on user reported issue in\nhttps://discuss.elastic.co/t/elastic-lightweight-monitor-host-name-no-longer-using-current-host-name/366421\n\nUpdate parsing to skip replacing missing values !!\n\n### Before\n\nhttps://${host.name} would be replaced with \"https://\",\n\n\n### After\nVar value remain as is so that it would look for env variable \n\"https://${host.name}\", \n\n\n### Testing\n\ncan be tested in the ui , go to add monitor ui , user params in url\nfield and use inspect configuration to see parsed value, enabled inspect\nbutton from kibana advanced settings observability inspect ES queries !!\n\n<img width=\"852\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/66bf460a-7d63-4fb3-993d-1caaa6812583\">\n\n\n<img width=\"1106\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/6f5e97c6-182a-4cd1-a345-976c321d449a\">\n\n---------\n\nCo-authored-by: Justin Kambic <jk@elastic.co>","sha":"e94024b277779a4a6e9f786e43a4d20e56f6773f","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","backport:prev-minor","ci:project-deploy-observability","Team:obs-ux-management","v8.16.0"],"title":"[Synthetics] Update parsing to skip replacing missing values","number":192662,"url":"elastic#192662 Update parsing to skip replacing missing values (elastic#192662)\n\n## Summary\n\nBased on user reported issue in\nhttps://discuss.elastic.co/t/elastic-lightweight-monitor-host-name-no-longer-using-current-host-name/366421\n\nUpdate parsing to skip replacing missing values !!\n\n### Before\n\nhttps://${host.name} would be replaced with \"https://\",\n\n\n### After\nVar value remain as is so that it would look for env variable \n\"https://${host.name}\", \n\n\n### Testing\n\ncan be tested in the ui , go to add monitor ui , user params in url\nfield and use inspect configuration to see parsed value, enabled inspect\nbutton from kibana advanced settings observability inspect ES queries !!\n\n<img width=\"852\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/66bf460a-7d63-4fb3-993d-1caaa6812583\">\n\n\n<img width=\"1106\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/6f5e97c6-182a-4cd1-a345-976c321d449a\">\n\n---------\n\nCo-authored-by: Justin Kambic <jk@elastic.co>","sha":"e94024b277779a4a6e9f786e43a4d20e56f6773f"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":true,"state":"MERGED","url":"elastic#192662 Update parsing to skip replacing missing values (elastic#192662)\n\n## Summary\n\nBased on user reported issue in\nhttps://discuss.elastic.co/t/elastic-lightweight-monitor-host-name-no-longer-using-current-host-name/366421\n\nUpdate parsing to skip replacing missing values !!\n\n### Before\n\nhttps://${host.name} would be replaced with \"https://\",\n\n\n### After\nVar value remain as is so that it would look for env variable \n\"https://${host.name}\", \n\n\n### Testing\n\ncan be tested in the ui , go to add monitor ui , user params in url\nfield and use inspect configuration to see parsed value, enabled inspect\nbutton from kibana advanced settings observability inspect ES queries !!\n\n<img width=\"852\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/66bf460a-7d63-4fb3-993d-1caaa6812583\">\n\n\n<img width=\"1106\" alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/6f5e97c6-182a-4cd1-a345-976c321d449a\">\n\n---------\n\nCo-authored-by: Justin Kambic <jk@elastic.co>","sha":"e94024b277779a4a6e9f786e43a4d20e56f6773f"}}]}] BACKPORT--> Co-authored-by: Shahzad <shahzad31comp@gmail.com>
- Loading branch information