2

We are using Google Cloud Stackdriver Logs for Load Balancer requests. As far as I see, we can get both GET and POST requests but we cannot reach POST payload. Is it possible to add POST payload to load balancer logs on Stackdriver?

2
  • Can you clarify if you mean the payload for all POST requests targeting the load balancer? To add, it is possible to add your own Fluentd configuration files to the Logging agent to receive logs from the instance. Here is another documentation on writing custom logs.
    – N Singh
    Dec 4, 2017 at 19:00
  • Logging POSTs is a great way to accidentally violate all sorts of security/privacy policies by putting passwords and other sensitive data in plain-text somewhere.
    – ceejayoz
    Feb 14, 2018 at 15:25

1 Answer 1

2

The data in all responses and the data in POST requests are not logged. This is the default for most web server/proxy software.

To inspect the data in the POST requests you'll need to look from the backend server or the client.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .