Promtail issue throught proxy with config

When i’m trying to push my logs with promtail with this config It’s not working ( and i get no error logs).

   - url: https://XXXXXXXXX/loki/api/v1/push
       insecure_skip_verify: true
     proxy_url: "http://XXXXXXX:XXXX"

Otherwise, when i’m trying to curl my url with the proxy, i can reach it

curl --proxy "XXXXXXXXX:XXXX" -kv https://XXXXXXXXXXXX/loki/api/v1/push 

Connected to XXXXXXXXX (XXXXXXXX) port XXXX (#0) 

I have another promtail client without proxy and which is working.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.