gcloud logging write size limited to 128 kb

180 Views Asked by At

In GCP, I'm trying to add a Stackdriver log entry of size 138 kb as a json payload using a cloud shell command. It failed, saying "arguments are too long" . I'm able to insert entries of size less than or equal to 128 kb. As per the documentation , it says it can allow upto 256 kb.

https://cloud.google.com/logging/quotas

gcloud logging write --payload-type=json my-test-log "{\"message\": \"My message\", \"weather\": \"aaaaa\.................."}"

0

There are 0 best solutions below