Skip to content
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

Only Export EMF Logs Config #27099

Closed
sethAmazon opened this issue Sep 25, 2023 · 4 comments
Closed

Only Export EMF Logs Config #27099

sethAmazon opened this issue Sep 25, 2023 · 4 comments
Labels

Comments

@sethAmazon
Copy link
Contributor

Component(s)

exporter/awscloudwatchlogs

Is your feature request related to a problem? Please describe.

We are sending emf logs to CloudWatch exporter to get emf metrics. The receiver sometimes receives non emf logs. We want the exporter to drop logs that are not in emf format so it will not send those logs to the backend.

Describe the solution you'd like

I have a poc that drops non emf logs in the exporter.
https://github.com/amazon-contributing/opentelemetry-collector-contrib/pull/68/files

Describe alternatives you've considered

None

Additional context

This is being backwards compatible with CloudWatch Agent.

@sethAmazon sethAmazon added enhancement New feature or request needs triage New item requiring triage labels Sep 25, 2023
@github-actions github-actions bot added the exporter/awscloudwatchlogs awscloudwatchlogs exporter label Sep 25, 2023
@github-actions
Copy link
Contributor

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

@bryan-aguilar
Copy link
Contributor

Hey @sethAmazon,

Could this also be accomplished by using a filter processor on logs that don't match your expected shape?

@bryan-aguilar bryan-aguilar added priority:p2 Medium question Further information is requested and removed needs triage New item requiring triage question Further information is requested labels Sep 28, 2023
Copy link
Contributor

This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping @open-telemetry/collector-contrib-triagers. If this issue is still relevant, please ping the code owners or leave a comment explaining why it is still relevant. Otherwise, please close it.

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

@github-actions github-actions bot added the Stale label Nov 28, 2023
Copy link
Contributor

This issue has been closed as inactive because it has been stale for 120 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jan 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants