Skip to content

Commit

Permalink
update TimeFieldWarning component texts to be suitable for both log r…
Browse files Browse the repository at this point in the history
…ate analysis and pattern analysis
  • Loading branch information
walterra committed Nov 4, 2024
1 parent 7816dc5 commit 1e82368
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions x-pack/plugins/aiops/public/components/time_field_warning.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,16 @@ export const TimeFieldWarning = () => {
<>
<EuiCallOut
size="s"
title={i18n.translate(
'xpack.aiops.logCategorization.embeddableMenu.timeFieldWarning.title',
{
defaultMessage: 'The selected data view does not contain a time field.',
}
)}
title={i18n.translate('xpack.aiops.embeddableMenu.timeFieldWarning.title', {
defaultMessage: 'The selected data view does not contain a time field.',
})}
color="warning"
iconType="warning"
>
<p>
{i18n.translate(
'xpack.aiops.logCategorization.embeddableMenu.timeFieldWarning.title.description',
{
defaultMessage: 'Pattern analysis can only be run on data views with a time field.',
}
)}
{i18n.translate('xpack.aiops.embeddableMenu.timeFieldWarning.title.description', {
defaultMessage: 'The analysis can only be run on data views with a time field.',
})}
</p>
</EuiCallOut>
<EuiSpacer />
Expand Down

0 comments on commit 1e82368

Please sign in to comment.