-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[ecs] Update fields.ecs.yml to 1.12 #27770
Conversation
Pinging @elastic/security-external-integrations (Team:Security-External Integrations) |
💚 Build Succeeded
Expand to view the summary
Build stats
Test stats 🧪
💚 Flaky test reportTests succeeded. 🤖 GitHub commentsTo re-run your PR in the CI, just comment with:
|
This pull request is now in conflicts. Could you fix it? 🙏
|
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 changes message
to use match_only_text
which was introduced in 7.14. I think libbeat should fall-back to text
if that type is not available. We added something similar for wildcard
at
beats/libbeat/template/processor.go
Lines 90 to 96 in 7a49ca1
case "wildcard": | |
noWildcards := p.EsVersion.LessThan(minVersionWildcard) | |
if !p.ElasticLicensed || noWildcards { | |
indexMapping = p.keyword(&field) | |
} else { | |
indexMapping = p.wildcard(&field) | |
} |
7f10576
to
be2a882
Compare
This pull request is now in conflicts. Could you fix it? 🙏
|
f85962b
to
e31acb9
Compare
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.
LGTM
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.
From E2E stand point, I'd say this PR is OK, as the errors we are seeing in the build history are considered flaky
* Update fields.ecs.yml to 1.12 * Fallback to text when match_only_text is unavailable * Add changelog entry * Amend changelog entry * Remove duplicated service.address field from metricbeat (cherry picked from commit cca59ba) # Conflicts: # auditbeat/include/fields.go # filebeat/docs/fields.asciidoc # filebeat/include/fields.go # go.mod # heartbeat/include/fields.go # journalbeat/include/fields.go # metricbeat/docs/fields.asciidoc # metricbeat/include/fields/fields.go # packetbeat/include/fields.go # winlogbeat/include/fields.go # x-pack/functionbeat/include/fields.go # x-pack/heartbeat/include/fields.go # x-pack/osquerybeat/include/fields.go
* Update fields.ecs.yml to 1.12 * Fallback to text when match_only_text is unavailable * Add changelog entry * Amend changelog entry * Remove duplicated service.address field from metricbeat (cherry picked from commit cca59ba) # Conflicts: # auditbeat/include/fields.go # filebeat/docs/fields.asciidoc # filebeat/include/fields.go # go.mod # heartbeat/include/fields.go # journalbeat/include/fields.go # metricbeat/docs/fields.asciidoc # metricbeat/include/fields/fields.go # packetbeat/include/fields.go # winlogbeat/include/fields.go # x-pack/functionbeat/include/fields.go # x-pack/heartbeat/include/fields.go # x-pack/osquerybeat/include/fields.go
* Update fields.ecs.yml to 1.12 * Fallback to text when match_only_text is unavailable * Add changelog entry * Amend changelog entry * Remove duplicated service.address field from metricbeat (cherry picked from commit cca59ba)
* Update fields.ecs.yml to 1.12 * Fallback to text when match_only_text is unavailable * Add changelog entry * Amend changelog entry * Remove duplicated service.address field from metricbeat (cherry picked from commit cca59ba) Co-authored-by: Marc Guasch <[email protected]>
* Update fields.ecs.yml to 1.12 * Fallback to text when match_only_text is unavailable * Add changelog entry * Amend changelog entry * Remove duplicated service.address field from metricbeat
What does this PR do?
Why is it important?
Checklist
- [ ] I have commented my code, particularly in hard-to-understand areas- [ ] I have made corresponding changes to the documentation- [ ] I have made corresponding change to the default configuration filesCHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.How to test this PR locally
Closes #27835