-
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
Introduce log.source.address and log.file.path for 7.x compatiblity #9435
Conversation
2cb7600
to
a31733e
Compare
Pinging @elastic/infrastructure |
This should not be merged before discussion in #9460 is resolved. |
83a9f46
to
edfd916
Compare
PR was changed to use |
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.
A few minor details, then we're good:
- Changelog rebase fun
- One missing
log.source.ip
=>log.source.address
rename
Question, not a problem: should we make file
reusable in ECS (ref log.file.*
)?
Related to elastic#8902 but adding the fields instead of replacing
9b39084
to
8750ba1
Compare
@@ -17,6 +17,7 @@ | |||
"http.request.method": "GET", | |||
"http.response.status_code": "200", | |||
"input.type": "log", | |||
"log.file.path": "/Users/ruflin/Dev/gopath/src/github.com/elastic/beats/x-pack/filebeat/module/suricata/eve/test/eve-alerts.log", |
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.
These paths are still present in x-pack
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.
will update these files too and push again.
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.
One last thing: the golden files in the x-pack directory still have your the log file path.
Then we're good 👍
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
@@ -1,6 +1,6 @@ | |||
[ | |||
{ | |||
"@timestamp": "2018-12-11T08:08:07.894Z", | |||
"@timestamp": "2018-12-12T11:22:05.182Z", |
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.
Don't think it's a problem, but why are these timestamps still changing?
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.
I fixed that with #9506. It's not an issue for CI.
Related to #8902 but adding the fields instead of replacing