documentation icon indicating copy to clipboard operation
documentation copied to clipboard

Update container log file example

Open JacksonDavenport opened this issue 3 years ago • 2 comments
trafficstars

What does this PR do?

Update the example where you can collect logs from a log file within another application container. The current log sample used a "dummy" container, the new sample can be actually deployed to create these logs in a way that the Agent can access them. So a much more "real" example a customer can follow.

Additionally changes the formatting a bit to better highlight requirements of this, rather than including them as bullet point notes.

Motivation

Clear up the example

Preview

https://docs-staging.datadoghq.com/jack.davenport/k8s-logs/containers/kubernetes/log/?tab=daemonset#examples---log-collection-from-file-configured-in-an-annotation

Current:

  • https://docs.datadoghq.com/containers/kubernetes/log/?tab=daemonset#examples---log-collection-from-file-configured-in-an-annotation

Additional Notes


Reviewer checklist

  • [ ] Review the changed files.
  • [ ] Review the URLs listed in the Preview section.
  • [ ] Check images for PII
  • [ ] Review any mentions of "Contact Datadog support" for internal support documentation.

JacksonDavenport avatar Aug 15 '22 17:08 JacksonDavenport

Preview links (active after the build_preview check completes)

Modified Files

  • https://docs-staging.datadoghq.com/jack.davenport/k8s-logs/containers/kubernetes/log

github-actions[bot] avatar Aug 15 '22 17:08 github-actions[bot]

Created DOCS-3939 for review.

maycmlee avatar Aug 15 '22 19:08 maycmlee