Is there a way to get the gcloud command to output just the textPayload attribute values?
I haven't managed to figure out a good way of how to extract only the log lines that an app submitts to stackdriver, without all the metadata associated with the log entry, of which the actual log line is just one of many attributes.
Currently I've had to resort to some shell-fu in order to get the log output in a form akin to what logging locally to file would have yielded.
To get logs from a given docker container in container engine I presently do something like the following:
gcloud beta logging read '<query-expression>' --format list | grep ' textPayload: ' | cut -c17- > relevant_log_lines
PS. thanks for providing a CLI for stackdriver, very handy indeed.