Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Bug of Datadog Service Attribute with AWS S3

Open
#804 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
aws, python
Domain
backend, cloud

Research direction

Start at the Python log forwarder Lambda entry point for S3 bucket triggers and trace how WAF records obtain their service name. Reproduce the issue with a WAF traffic log, an S3 bucket service tag, and the S3 trigger; done means the resulting S3 log record uses that tag instead of waf.

Written by the indexing model from the issue text.

Description

Describe what happened:
I'm using the log forwarder for cloudwatch logs (Lambda) and s3 object (WAF).
I'd like to change the service attribute for each source.
For the reason above, I set the different service AWS tag in cloudwatch logs and s3 object.
However, service name is only applied with cloudwatch logs and the service name of the log record from the s3 object is waf

Describe what you expected:
The service name of the log record from the s3 record should be service AWS tag which is set in S3 Bucket.

Steps to reproduce the issue:

  1. Store the WAF traffic log with S3 bucket
  2. Set the service AWS Tag in S3 bucket
  3. Set the S3 bucket as a log forwarder lambda trigger
Dominant language
Python
Stars
351
Forks
394
Avg merge
2d 11h
Merged PRs (30d)
10

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from DataDog/datadog-serverless-functions

All issues in DataDog/datadog-serverless-functions

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.