Bug of Datadog Service Attribute with AWS S3
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
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:
- Store the WAF traffic log with S3 bucket
- Set the service AWS Tag in S3 bucket
- 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
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from DataDog/datadog-serverless-functions
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
DataDog/datadog-serverless-functions#1219 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 78/100
DataDog/datadog-serverless-functions#1187 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
DataDog/datadog-serverless-functions#1148 · 1 reaction ·
Maintainers usually reply within 1 day
-
Overriding environment variables that are reserved by AWS Lambda might lead to unexpected behavior.Open
Difficulty 3/5 1-2 days Newbie friendliness 35/100
DataDog/datadog-serverless-functions#1198 ·
Maintainers usually reply within 1 day
-
Support DD_TAGS on internal forwarder telemetry metricsPossibly taken @patbos claimed this 124 days ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 72/100
DataDog/datadog-serverless-functions#1145 ·
Maintainers usually reply within 1 day
All issues in DataDog/datadog-serverless-functions
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
Harmony OPeNDAP SubSetter (HOSS) Geographic LARC_CLOUD PREFIRE_SAT2_AUX-SAT R01 production
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
nasa/harmony-autotester#245 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Deltares/imod-python#1928 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
feature
Difficulty 2/5 1-3 hours Newbie friendliness 66/100