kibana/x-pack/plugins/apm/common/rules/apm_rule_field_map.ts
2021-04-18 16:40:54 +02:00

20 lines
506 B
TypeScript

/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
export const apmRuleFieldMap = {
'service.environment': {
type: 'keyword',
},
'transaction.type': {
type: 'keyword',
},
'processor.event': {
type: 'keyword',
},
} as const;
export type APMRuleFieldMap = typeof apmRuleFieldMap;