Skip to content

Instantly share code, notes, and snippets.

@kevinslin
Created April 25, 2024 21:41
Show Gist options
  • Select an option

  • Save kevinslin/66a49c8605957961267f64c95eaf6fc2 to your computer and use it in GitHub Desktop.

Select an option

Save kevinslin/66a49c8605957961267f64c95eaf6fc2 to your computer and use it in GitHub Desktop.

Revisions

  1. kevinslin created this gist Apr 25, 2024.
    13 changes: 13 additions & 0 deletions one.yaml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    sources:
    source/a/dd_agent:
    type: datadog_agent
    address: 0.0.0.0:8020
    multiple_outputs: true
    sinks:
    sink/l/dd:
    site: ${DD_SITE}
    type: datadog_logs
    inputs:
    - source/a/dd_agent.logs
    compression: gzip
    default_api_key: ${DD_API_KEY}
    13 changes: 13 additions & 0 deletions two.yaml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    sources:
    source/a/dd_agent:
    type: datadog_agent
    address: 0.0.0.0:8020
    multiple_outputs: true
    sinks:
    sink/l/dd:
    site: ${DD_SITE}
    type: datadog_logs
    inputs:
    - source/a/dd_agent.logs
    compression: gzip
    default_api_key: ${DD_API_KEY}