-
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
Custom Threshold Rule - ViewInAppUrl does not honour Kibana Space #201333
Comments
Pinging @elastic/obs-ux-management-team (Team:obs-ux-management) |
I checked this issue briefly, and it seems the logs explorer locator (which uses the discover locator behind the scenes) does not have the option to specify spaceId. I am checking with @elastic/kibana-data-discovery team to see how to add that option. It is worth mentioning that spaceId is needed to be specified on the server side during rule execution. We use the same locator on the alert details page, and it works as expected (meaning it will stay in the same space when clicking on the "open in Discover" link) |
…c#201793) ## Summary Close elastic#201378 Fix elastic#201333 - [Share] Allow to pass `spaceId` to `getRedirectUrl` to build a URL with a specific `spaceId` - Fix Custom Threshold Rule ViewInAppUrl does not honor Space --------- Co-authored-by: Maryam Saeidi <maryam.saeidi@elastic.co> (cherry picked from commit f1f3a4f)
…c#201793) ## Summary Close elastic#201378 Fix elastic#201333 - [Share] Allow to pass `spaceId` to `getRedirectUrl` to build a URL with a specific `spaceId` - Fix Custom Threshold Rule ViewInAppUrl does not honor Space --------- Co-authored-by: Maryam Saeidi <maryam.saeidi@elastic.co> (cherry picked from commit f1f3a4f)
…c#201793) ## Summary Close elastic#201378 Fix elastic#201333 - [Share] Allow to pass `spaceId` to `getRedirectUrl` to build a URL with a specific `spaceId` - Fix Custom Threshold Rule ViewInAppUrl does not honor Space --------- Co-authored-by: Maryam Saeidi <maryam.saeidi@elastic.co>
Kibana version:
8.15.4, 8.16
Elasticsearch version:
8.15.4, 8.16
Describe the bug:
The Custom Threshold Rule provides in the action variables multiple urls to access the results and alerts. The
viewInAppUrl
does not add the Kibana space to the url -> User is routed to Default space, which limit any multi-space Kibana to use this feature. Other urls likealertDetailsUrl
are behaving like expected with Kibana space in the url. The json below shows (skipped the irrelevant fields) the url behaviorSteps to reproduce:
{{context.viewInAppUrl}}
Expected behavior:
Url routes to the Space where the Rule is created and not Default Space
Screenshots (if relevant):
Errors in browser console (if relevant):
Provide logs and/or server output (if relevant):
Any additional context:
The text was updated successfully, but these errors were encountered: