API forbidden
In my elastic panel I am trying to integrate logs from the cloudflare account, but it is not working. I get authentication errors.
input_source https://api.cloudflare.com/client/v4/zones/MYZONEID/logs/received
message Error while processing http request: failed to collect first response: failed to execute http GET: server responded with status code 401: {"success":false,"errors":[{"code":10000,"message":"Authentication error"}]}
1 Reply
Your API Token doesn't have the right permissions, looks like that just needs Zone -> Logs -> Read for that zone