Skip to content

Datadog Agent demo not successfully sending logs to Datadog #8

@lucperkins

Description

@lucperkins

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions