-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RAC][Alerts as Data] Adds RAC plugin #94663
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
made a few notes on the schema
}, | ||
}, | ||
}, | ||
parents: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be a nested
type? I'd guess that parent
is the direct parent, and that there could be other "indirect" parents? Or just one?
}, | ||
}, | ||
}, | ||
ancestors: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same question re: parents
- should this be nested
? Could there be multiple in here?
field: { | ||
type: 'keyword', | ||
}, | ||
value: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we've not added a notion of a fixed type for thresholds, because "IT depends". The index threshold has comparators "between" and "not between" which take two threshold values. The geo containment alert threshold is some geo-related value - I believe a shape, but perhaps it's a set of points, or ??? - it's unlikely to be captured as a float
though.
Thank you for the 👀's @pmuellr! In discussing with @dgieselaar today I'm going to remove the index/mapping bootstraping logic from this PR and integrate with the rule-registry (once merged). That said, your comments are still valid, and we'll need to decide about |
⏳ Build in-progress, with failures
Failed CI Steps
History
To update your PR or re-run it, just comment with: |
💔 Build Failed
Failed CI Steps
Test FailuresKibana Pipeline / jest / Jest Tests.x-pack/plugins/alerting/server/task_runner.Task Runner validates params before executing the alert typeStandard Out
Stack Trace
Kibana Pipeline / jest / Jest Tests.x-pack/plugins/event_log/server/es.createIndexTemplate should throw error if index template still doesn't exist after error is thrownStandard Out
Stack Trace
Kibana Pipeline / jest / Jest Tests.x-pack/plugins/apm/server/lib/alerts.Transaction duration anomaly alert doesn't send alert ml is not definedStandard Out
Stack Trace
and 12 more failures, only showing the first 3. Metrics [docs]Module Count
Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: |
NOTE:
This PoC is on pause as we integrate the
rule-registry
#95903. Reference Rule implementations being iterated on as part of #96015Summary
This is a draft PR for iterating towards the first three
Alerts as Data
milestones:The
RAC
plugin will act as a test bed while Alerting (#90375) & Detections (#93550) tackle their initial tasks around renaming/modularization. Once suitable implementations are determined for the above we can start integrating modularized pieces like exceptions, monitoring, and begin iterating on API's and other refactoring efforts around rules (supporting alerts as data in remaining Observability rules, breaking out security rules into multiple types, rule management, etc).This initial pass leverages the
event_log
method of bootstrapping the index, and just needs theexports.EcsEventLogProperties
updated to be able to generate the correct mappings using the script:Current progress: