Is this properly indexed by Stackdriver? From reading the documentation, it seems that Stackdriver wants the HTTP info nested in the httpRequest key, and IIRC, JSON logs end up in the jsonPayload key for k8s containers in Stackdriver. Or is Stackdriver smart enough to figure out it should be in the httpRequest key?
UPDATE:
So I think I figured this out, the JSON should be nested in an httpRequest key. Here's the working version:
Is this properly indexed by Stackdriver? From reading the documentation, it seems that Stackdriver wants the HTTP info nested in the
httpRequestkey, and IIRC, JSON logs end up in thejsonPayloadkey for k8s containers in Stackdriver. Or is Stackdriver smart enough to figure out it should be in thehttpRequestkey?UPDATE:
So I think I figured this out, the JSON should be nested in an
httpRequestkey. Here's the working version:I do not see the difference ... is the original post also updated?
Thanks for pointing this out.