Skip to content

Commit

Permalink
Merge branch '64755-expand-anomalies-page-to-add-categories' of githu…
Browse files Browse the repository at this point in the history
…b.com:Kerry350/kibana into 64755-expand-anomalies-page-to-add-categories
  • Loading branch information
Kerry350 committed Jul 13, 2020
2 parents 0e5441b + a2c1d2f commit 9198baf
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -234,14 +234,13 @@ const AnomalyMessage = ({
}: {
actual: number;
typical: number;
type: string;
type: AnomalyType;
}) => {
const messageType = type === 'logRate' ? 'dataset' : 'category';
const moreThanExpectedAnomalyMessage = i18n.translate(
'xpack.infra.logs.analysis.anomaliesTableMoreThanExpectedAnomalyMessage',
{
defaultMessage: 'higher log messages in this {messageType} than expected',
values: { messageType },
defaultMessage: 'higher log messages in this {type, select, logRate {dataset}, logCategory {category}} than expected',
values: { type },
}
);

Expand Down

0 comments on commit 9198baf

Please sign in to comment.