question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature Request: Apply Cloudwatch Log Group Tags as Datadog Tags

See original GitHub issue

Hello there!

We love the capabilities of the Data Logging Pipeline, and we use it quite heavily today! One feature we’ve always enjoyed is the nice UX of installing an agent and having it aggregate EC2 Tagging metadata as tags in Datadog’s Logging product.

We also make heavy use of the Datadog Log Forwader for our ECS Workloads, however, we’ve noticed that some of the metadata we used to get in EC2 isn’t necessarily working how we’d expect with Cloudwatch log groups.

What would be really nice is if this same behavior applied to Cloudwatch Log Groups so we wouldn’t have to encode aggregation data into our Structured Logs and try to parse it out via the Logging Pipeline.

For example, if we tag a Cloudwatch log group resource in AWS with

Env: 'production'
Service: 'auth'

We would love to have any logs from that log group be searchable and aggregated by those tags as well!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:38
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

10reactions
eboulfakhrcommented, Jun 3, 2020

Hello! We have a similar need. I added tags to the aws elasticsearch slow logs logroup but I am not able to see these tags in the the logs forwarded to datadog.

thank you!

6reactions
VolkerSchiewecommented, Nov 2, 2021

Would love to see that 👍 we are forwarding API Gateway access logs to datadog using the lambda forwarder. Without the service and env tag it is hard to correlated these logs with the lambda invocations.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting Started with Tags - Datadog Docs
Scoping of application specific data across metrics, traces, and logs. Datadog recommends looking at containers, VMs, and cloud infrastructure at the service ...
Read more >
Using Tags - Datadog Docs
Use tags to filter metrics to display in a dashboard graph, or to create aggregated groups of metrics to display. To filter the...
Read more >
Best Practices for Tagging Your Infrastructure and Applications
Pivot between request traces, logs, and metrics. Datadog uses tags to automatically correlate your data so you can seamlessly pivot between ...
Read more >
Tags - Datadog Docs
Those tags are applied to all metrics sent by the host. Refer to hosts by name ( yourhost.example.com ) when fetching and applying...
Read more >
Assigning Tags - Datadog Docs
yaml ) is used to set host tags which apply to all metrics, traces, and logs forwarded by the Datadog Agent. Tags for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found