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
[microsoft_sqlserver,system] Add ECS error.code mapping #6868
Conversation
@ishleenk17 - What happens to the existing user who faces the field conflicts ? |
They will have to upgrade to this version if they think it's a deal breaker for them. |
Does it requires removing the conflicting field and re-indexing the existing data ? Are we considering this as a breaking change ? Otherwise the changes looks good ! |
Yes, I think this would be categorized as a breaking change since it's going to be a mapping change. |
I would categorize this as a bug. ECS was not adhered here and the default ES dynamic mappings prevailed. When the new package version is installed Fleet will |
Thanks for the clarity @andrewkroh |
@andrewkroh - I am trying to understand what happens when we try to search or perform aggregations against the data after the new change. Will the type conflict still exists ? Observations :
Correct me if I am wrong,
|
That is correct. Any functions that require knowing the type can have issues. Queries without aggs (like Discover) should work. The options for resolution are reindexing, deleting, closing, or adding a runtime field in the old indices to shadow the field with the correct type. |
If we go by this document, I think we should consider this as a bug fix and not a breaking change. |
🌐 Coverage report
|
Package microsoft_sqlserver - 2.1.1 containing this change is available at https://epr.elastic.co/search?package=microsoft_sqlserver |
Package system - 1.36.2 containing this change is available at https://epr.elastic.co/search?package=system |
* Add ecs mapping * Update changelog
What does this PR do?
This PR fixes the type conflicts for error.message and error.code for datastreams in system and mssql package
Checklist
changelog.yml
file.Related issues