-
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
Convert Filebeat elasticsearch.* to ECS #9293
Conversation
+1 on the Caveats |
I'll be able to start on this again once #9645 is merged. |
Notes: - Can't be aliased since `body` is moving to `body.content`. - Currently only affects Packetbeat, so it's been listed only there, even if these are ECS field defs. - This will affect the ES Filebeat module logs as well. A note as been added to elastic#9293, so it doesn't get forgotten.
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.
@ycombinator You should probably also have a look at this one.
filebeat/module/elasticsearch/audit/test/test.log-expected.json
Outdated
Show resolved
Hide resolved
Changes LGTM but other related PRs got merged recently so conflicts will need to be resolved on this one. Let me know if you need help with any of those. |
Yeah I want to get more module migrations going and get those discussions going first. I'll fix these conflicts in a few days |
7d03d37
to
78f1b0f
Compare
78f1b0f
to
63d4141
Compare
jenkins, test this |
1 similar comment
jenkins, test this |
jenkins, test this |
- elasticsearch.audit.event_type => event.type - elasticsearch.audit.origin_address => source.ip - elasticsearch.audit.uri => url.original - elasticsearch.audit.request_body => http.request.body
Not removing original, as there's a 1000000x scale difference
8a25060
to
1dc24da
Compare
@ruflin @ycombinator Ready for a final review. All elasticsearch-related tests are successful here, even in Jenkins. The failing filebeat testsuite in there is actually puzzling to me: all tasks are But all of this is obviously unrelated to the ES Filebeat module :-) Only caveat I'd like confirmation on: right now it would be possible to populate event.duration with nanoseconds precision, but I'd have to parse the textual field |
jenkins, test this |
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 but I would really want to see CI pass at least for Filebeat.
This last run only had flakiness for libbeat and metricbeat, so we're good. |
@webmat Let's get it in. Super unhappy about the CI failures but filebeat is excluded as you mentioned. Can you also remove the |
Very little appears to be required for this module.
Caveats
Renames
Copies
TODO
http.*.body.content
move in ecs-migration and the code as well