Skip to content

Commit

Permalink
[Uptime] monitor management - adjust sort field map for inline monito…
Browse files Browse the repository at this point in the history
…r errors (#130606)

* uptime - monitor management - adjust sort field map for inline monitor errors

* add additional field to sortFieldMap
  • Loading branch information
dominiqueclarke authored Apr 20, 2022
1 parent 9ed9c02 commit 18aa549
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ import { useInlineErrorsCount } from './use_inline_errors_count';
import { SYNTHETICS_INDEX_PATTERN } from '../../../../common/constants';

const sortFieldMap: Record<string, string> = {
name: 'monitor.name',
urls: 'url.full',
['name.keyword']: 'monitor.name',
['urls.keyword']: 'url.full',
['type.keyword']: 'monitor.type',
'@timestamp': '@timestamp',
};

Expand Down

0 comments on commit 18aa549

Please sign in to comment.