vector-demos icon indicating copy to clipboard operation
vector-demos copied to clipboard

Datadog Agent demo not successfully sending logs to Datadog

Open lucperkins opened this issue 4 years ago • 0 comments

When I run the datadog-agent demo locally, I get error logs like this:

vector_1  | Sep 02 22:13:23.803 ERROR sink{component_id=datadog component_kind="sink" component_type=datadog_logs component_name=datadog}:request{request_id=3}: vector::sinks::util::sink: Response failed. response=Response { status: 403, version: HTTP/1.1, headers: {"content-type": "application/json", "content-length": "2", "date": "Thu, 02 Sep 2021 22:13:23 GMT", "via": "1.1 google", "alt-svc": "clear"}, body: b"{}" }

I thought it might be because the api_key setting in the Datadog sink should be default_api_key but changing that didn't make a difference, as the config is aliased.

FYI my DD_API_KEY is valid and set in my environment.

lucperkins avatar Sep 02 '21 22:09 lucperkins