-
Notifications
You must be signed in to change notification settings - Fork 144
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
Migrate docker provider to ECS fields: container.image -> container.image.name #2411
Merged
tetianakravchenko
merged 2 commits into
elastic:main
from
tetianakravchenko:docker-provider-ecs-fields
Mar 29, 2023
Merged
Migrate docker provider to ECS fields: container.image -> container.image.name #2411
tetianakravchenko
merged 2 commits into
elastic:main
from
tetianakravchenko:docker-provider-ecs-fields
Mar 29, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…mage.name Signed-off-by: Tetiana Kravchenko <tetiana.kravchenko@elastic.co>
tetianakravchenko
requested review from
AndersonQ,
blakerouse,
a team,
gsantoro and
devamanv
and removed request for
a team
March 28, 2023 17:25
This pull request does not have a backport label. Could you fix it @tetianakravchenko? 🙏
NOTE: |
tetianakravchenko
added
backport-v8.6.0
Automated backport with mergify
backport-v8.7.0
Automated backport with mergify
Team:Cloudnative-Monitoring
Label for the Cloud Native Monitoring team
labels
Mar 28, 2023
ChrsMark
reviewed
Mar 29, 2023
gsantoro
approved these changes
Mar 29, 2023
ChrsMark
approved these changes
Mar 29, 2023
🌐 Coverage report
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
backport-v8.6.0
Automated backport with mergify
backport-v8.7.0
Automated backport with mergify
bug
Something isn't working
Team:Cloudnative-Monitoring
Label for the Cloud Native Monitoring team
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Docker integration fails processing logs with the error:
in beats this field was migrated to the new ECS format a long time ago -
add_docker_metadata
elastic/beats#9412Why is it important?
docker logs can't be processed, and event are dropped
Checklist
./changelog/fragments
using the changelog toolAuthor's Checklist
How to reproduce the error:
-> see the error
{\"type\":\"mapper_parsing_exception\",\"reason\":\"object mapping for [container.image] tried to parse field [image] as object, but found a concrete value\"}, dropping event!"
How to test this PR locally
DEV=true PLATFORMS=linux/amd64 PACKAGES=docker mage package
cd build/package/elastic-agent/elastic-agent-linux-amd64.docker/docker-build
docker build -t custom-elastic-agent-docker-logs-parsing-6 .
result:
logs are parsed,
container.image.name
field is available:Related issues
Use cases
Screenshots
Logs