-
Notifications
You must be signed in to change notification settings - Fork 448
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
[Log] Message field is keyword #6566
Comments
Pinging @elastic/elastic-agent (Team:Elastic-Agent) |
We have been investigating this issue a little bit, installing logs 2.0.0 (input package) and logs 1.1.2 (integration package) in 8.8.0 and we have found some differences on behaviour.
In both cases, logs are sent to Elasticsearch includes a We haven't found the reason why the logs integration package doesn't use its own mapping or if this is intentional, this would require more investigation. None of these packages include a mapping for I guess that the quickest solution to this is to include the expected mappings in the |
I can confirm what @jsoriano said about the behaviour of the input package (only that since I have only tested that part). In the linked PR I have provided a fix using the dynamic ECS templates as suggested at #5055. The message field mapping is now correct. The side effect is that now there are other ECS fields defined in the index template. I assume this is ok for a temporary fix |
Issue created for this, as it appears to cause problems in more situations elastic/kibana#160775 |
Setting up the custom logs integration in 8.8 for the dataset
logs-foo-default
makes themessage
field a keyword instead of a text (match_only_text?) field. This was not the case previously. Is it possible this is related to the switch of an input package?The default proposed is
generic
as dataset, so if the custom logs is setup forlogs-generic-default
, it means the default is now switched to generic.The text was updated successfully, but these errors were encountered: