Skip to content

Commit

Permalink
testing revert
Browse files Browse the repository at this point in the history
  • Loading branch information
ymao1 committed Feb 7, 2023
1 parent f6799fd commit 085b7b8
Showing 1 changed file with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const technicalRuleFieldMap = {
Fields.EVENT_ACTION,
Fields.TAGS
),
[Fields.ALERT_RULE_PARAMETERS]: { type: 'flattened', ignore_above: 4096 },
[Fields.ALERT_RULE_PARAMETERS]: { type: 'flattened', ignore_above: 4096, required: false },
[Fields.ALERT_RULE_TYPE_ID]: { type: 'keyword', required: true },
[Fields.ALERT_RULE_CONSUMER]: { type: 'keyword', required: true },
[Fields.ALERT_RULE_PRODUCER]: { type: 'keyword', required: true },
Expand All @@ -26,14 +26,15 @@ export const technicalRuleFieldMap = {
[Fields.ALERT_INSTANCE_ID]: { type: 'keyword', required: true },
[Fields.ALERT_START]: { type: 'date' },
[Fields.ALERT_TIME_RANGE]: {
required: false,
type: 'date_range',
format: 'epoch_millis||strict_date_optional_time',
},
[Fields.ALERT_END]: { type: 'date' },
[Fields.ALERT_DURATION]: { type: 'long' },
[Fields.ALERT_SEVERITY]: { type: 'keyword' },
[Fields.ALERT_END]: { type: 'date', required: false },
[Fields.ALERT_DURATION]: { type: 'long', required: false },
[Fields.ALERT_SEVERITY]: { type: 'keyword', required: false },
[Fields.ALERT_STATUS]: { type: 'keyword', required: true },
[Fields.ALERT_FLAPPING]: { type: 'boolean' },
[Fields.ALERT_FLAPPING]: { type: 'boolean', required: false },
[Fields.VERSION]: {
type: 'version',
array: false,
Expand Down

0 comments on commit 085b7b8

Please sign in to comment.