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) (#130632)

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

* add additional field to sortFieldMap

(cherry picked from commit 18aa549)

Co-authored-by: Dominique Clarke <[email protected]>
  • Loading branch information
kibanamachine and dominiqueclarke authored Apr 20, 2022
1 parent 06d9487 commit 2aad301
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 2aad301

Please sign in to comment.