opentelemetry-collector-contrib
opentelemetry-collector-contrib copied to clipboard
[exporter/awss3] add marsheler config to pick only body content of logs
Description: <Describe what has changed.>
This pull request introduces a new marshaller for the awss3 exporter. It disregards resources, labels, and selectively extracts only the body content of the logs, facilitating simplified AWS Athena connection and querying. While straightforward, this enhancement accommodates various use cases, enabling the extraction of specific logs for statistical analysis and long-term archival reporting.
Example when write only body to S3:
EXTERNAL_REQUEST 2023-07-18T10:05:01.976Z GET 200 localhost /organization/v0/properties 0:0:0:0:0:0:0:1 4264 348 wUN0NeTMByHVmIOjo79ImwylAjjkRtkr
EXTERNAL_REQUEST 2023-07-18T10:05:01.976Z GET 200 localhost /organization/v0/properties 0:0:0:0:0:0:0:1 4264 348 wUN0NeTMByHVmIOjo79ImwylAjjkRtkr
EXTERNAL_REQUEST 2023-07-18T10:05:01.976Z GET 200 localhost /organization/v0/properties 0:0:0:0:0:0:0:1 4264 348 wUN0NeTMByHVmIOjo79ImwylAjjkRtkr
EXTERNAL_REQUEST 2023-07-18T10:05:01.976Z GET 200 localhost /organization/v0/properties 0:0:0:0:0:0:0:1 4264 348 wUN0NeTMByHVmIOjo79ImwylAjjkRtkr
Testing: <Describe what testing was performed and which tests were added.>
Work as expected when used Athena to Query:
Documentation: <Describe the documentation added.> Readme updated.
The committers listed above are authorized under a signed CLA.
- :white_check_mark: login: anthoai97 / name: An Quách (6a1cdc50da2e02d0e025d91b845967c03d7cfc3f)
Please rebase
Please rebase
@atoulme i'm rebased, thank you !!!
Thank you, this looks good. A last nit on the changelog note and I am ready to accept the PR.
Thank you, this looks good. A last nit on the changelog note and I am ready to accept the PR.
I'm pleased to hear that. I updated the changelog and changed the variable name to pass the lint workflow. Thank you.
Hi @atoulme, could you please guide the steps I need to take to merge into the 'main' branch? Are there any specific requirements or actions I should be aware of?
This PR was marked stale due to lack of activity. It will be closed in 14 days.
Closed as inactive. Feel free to reopen if this PR is still being worked on.
Sorry, please rebase and I can flag for maintainers to take a look.
Dear @atoulme, I have rebased the branch, but unfortunately, I made a mistake during the process which added many reviewers to the review list. Could you please advise me on how to resolve this issue?
Thank you very much !!!