Skip to content

Commit

Permalink
fix: use correct field in filter and investigate in TL buttons (#132251
Browse files Browse the repository at this point in the history
…) (#132335)

(cherry picked from commit e0a5617)

Co-authored-by: Jan Monschke <[email protected]>
  • Loading branch information
kibanamachine and janmonschke authored May 17, 2022
1 parent 8888912 commit 4680688
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,11 @@ function getFieldsByRuleType(ruleType?: string): EventSummaryField[] {
case 'threshold':
return [
{ id: THRESHOLD_COUNT, label: ALERTS_HEADERS_THRESHOLD_COUNT },
{ id: THRESHOLD_TERMS_FIELD, label: ALERTS_HEADERS_THRESHOLD_TERMS },
{
id: THRESHOLD_TERMS_FIELD,
overrideField: THRESHOLD_TERMS_VALUE,
label: ALERTS_HEADERS_THRESHOLD_TERMS,
},
{
id: THRESHOLD_CARDINALITY_FIELD,
label: ALERTS_HEADERS_THRESHOLD_CARDINALITY,
Expand Down

0 comments on commit 4680688

Please sign in to comment.