Skip to content
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

[8.15] [Auto Import] Ask LLM to map to non-reserved ECS fields (#195168) #195304

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 8.15:

Questions ?

Please refer to the Backport tool documentation

\n\n### Questions ?\nPlease refer to the [Backport tool\ndocumentation](https://github.com/sqren/backport)\n\n\n\nCo-authored-by: Ilya Nikokoshev "}}]}] BACKPORT-->

## Release Note

Automatic Import does not ask the LLM to map the fields to the reserved
ECS fields anymore.

## Summary

Previously we have given the LLM the whole list of ECS fields, but later
failed the validation if the LLM's suggested a mapping into one of the
reserved fields (like `event.created`). With these changes, we hide the
reserved fields from the LLM when creating the prompt, so the likelihood
of this happening is reduced.

We test with the Teleport integration (see GitHub).
---------

Co-authored-by: Elastic Machine <[email protected]>
(cherry picked from commit c4599e0)
@kibanamachine kibanamachine merged commit 4647ca4 into elastic:8.15 Oct 7, 2024
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants