-
Notifications
You must be signed in to change notification settings - Fork 8.5k
chore(streams): generate significant event definitions #227126
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
chore(streams): generate significant event definitions #227126
Conversation
…t --include-path /api/status --include-path /api/alerting/rule/ --include-path /api/alerting/rules --include-path /api/actions --include-path /api/security/role --include-path /api/spaces --include-path /api/streams --include-path /api/fleet --include-path /api/dashboards --include-path /api/saved_objects/_import --include-path /api/saved_objects/_export --include-path /api/maintenance_window --update'
…urce-definitions/scripts/fix-location-collection.ts'
💔 Build Failed
Failed CI StepsHistory
cc @kdelemme |
c12217d to
3156242
Compare
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
7 similar comments
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
6 similar comments
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Summary
Resolves #214436
Mostly copied over from https://github.com/elastic/kibana/pull/216150/files#diff-51505aa38745af6aa946a2f13b7319659ead2bda2c9d2effc5e061bc88f15b69
This PR adds a
/significant_events/_generateAPI that returns generated significant event definitions based on the current streams data.The current algorithm works as follow:
In this PR we also integrate with the LLM eval runner framework: example
Prompts
initial
followup
Manual testing
POST kbn:/api/streams/_enablenode scripts/synthtrace.js sample_logs --live --kibana=http://elastic:changeme@localhost:5601 --target=http://elastic:changeme@localhost:9200 --liveBucketSize=1000LLM-based testing
node scripts/playwright test --config x-pack/platform/packages/private/kbn-evals-suite-streams/playwright.config.ts