mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Set relative date for host details link in onboarding flow (#205622)
This change sets a relative date range to the host details link from the auto-detect onboarding flow. This prevents a situation when host details page would open saying there is no data and it would be stuck on a fixed date range unable to load data even if user refreshes the page. Somehow, even when onboarding flow can detect that the data was already ingested, the host details page might not see it for some reason. This requires a further investigation, but relative data range is a fix for the time being.
This commit is contained in:
parent
b3c915ea27
commit
212b192674
1 changed files with 6 additions and 0 deletions
|
@ -183,6 +183,12 @@ export const AutoDetectPanel: FunctionComponent = () => {
|
|||
href: assetDetailsLocator.getRedirectUrl({
|
||||
assetType: 'host',
|
||||
assetId: integration.metadata?.hostname,
|
||||
assetDetails: {
|
||||
dateRange: {
|
||||
from: 'now-15m',
|
||||
to: 'now',
|
||||
},
|
||||
},
|
||||
}),
|
||||
},
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue