title: Datadog logging within Gitlab pipeline
body: <p>Hey I am trying to logging within a script and send a log message to Datadog via their api: POST <a href="https://http-intake.logs.datadoghq.com/v1/input" rel="nofollow noreferrer">https://http-intake.logs.datadoghq.com/v1/input</a>. My issue is that the code works perfectly well when running on the team's machine but once it's in the pipeline, it keeps throwing 400 errors as a response from Datadog. The Key is perfectly valid and the log message works on our machine so I cannot see why I am getting a 400 error. Wondering if anyone else has run into this problem</p>
  <p><a href="https://i.stack.imgur.com/1FrmQ.png" rel="nofollow noreferrer">pic of gitlab-cl.yml</a></p>
  <p>Thanks,</p>
  <p>soln: make sure your api key in gitlab can be accessed on all branches</p>