-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Investigate App] add log pattern context to assistant hypothesis #195247
[Investigate App] add log pattern context to assistant hypothesis #195247
Conversation
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
8029f8b
to
96b3fe9
Compare
Pinging @elastic/obs-ux-management-team (Team:obs-ux-management) |
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.
Kibana.jsonc LGTM
…miniqueclarke/kibana into fix/investigation-app-log-pattern-llm
…estigation-app-log-pattern-llm
…miniqueclarke/kibana into fix/investigation-app-log-pattern-llm
@@ -388,6 +424,9 @@ export const createCategorizationRequestParams = ({ | |||
return { | |||
index, | |||
size: 0, | |||
/* We occassionally end up with a search_phase_execution_exception Caused by: illegal_argument_exception: 0 > -1 |
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.
This is a known error I reported here: elastic/elasticsearch#112805
timeField: '@timestamp', | ||
messageField: 'message', | ||
ignoredCategoryTerms: primaryCategories.categories.map((category) => category.terms), | ||
samplingProbability: 0.1, |
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.
The idea of the original implementation was to not sample in the second pass as to not miss any rare documents.
💔 Build Failed
Failed CI StepsTest Failures
Metrics [docs]Module Count
Public APIs missing comments
Async chunks
History
|
Summary
Adds a route to perform log pattern analysis on all entity sources. Optionally performs log pattern analysis on the entities dependencies as well.
This data is then formatted and passed to the Investigation Contextual Insight. The LLM interprets the patterns and determines which ones may indicate a critical failure.
Example response
Testing
synth-trace
.event.outcome: "failure" / event.outcome : *
and set a low threshold base on the amount of failures in my current test data. Be sure to also group the alert byservice.name
frontend
service. This service will have dependencies. Click through to the alert and start an investigation.