Hello,
I understand that you would like to format the single logging to a better looking output. Other than that, the output is behaving as expected.
If you are using a Linux based operating system, I suggest using the “awk” utility to implement your requirements. You may choose another utility if you wish. You will need one that can parse and transform text.
awk can be used as a text processor that you can use to manipulate text input. There are several guides available. Here is one.
The input to the awk script would be the output of the “gcloud app logs tail” command. You would use a redirection operation like “<” for example.
Since Google Groups is meant as a general discussion forum for Google products, I have been brief but I hope I’ve given you something to think about.
https://stackoverflow.com/questions/66949413/formatting-gcloud-app-logs-tail-output-for-structured-logs-single-line-of-ser
--
You received this message because you are subscribed to a topic in the Google Groups "Google App Engine" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-appengine/C-qQBggKK88/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-appengi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/fd3dfc6d-0e67-45d7-b95b-bafd7fc3056cn%40googlegroups.com.