I'm just viewing it as an option for getting consolidated logs from our GCP 
and GKE resources, mainly as a workaround to GKE discarding the docker 
container output rather quickly.

Something similar to, and for the same purposes one uses docker-compose 
logs [-f], kubectl logs [-f] or kubectl get events [-w]
That is, a consolidated log event view of some *system* slice, of interest 
for ad-hoc discovery analysis.

A concrete example that prompted my exploration of beta-logging and 
stackdriver is that logs in GKE vanish "quickly". From the stackdriver 
documentation it seems data is kept there for 30 days, which is sufficient 
for our need regarding verifying *changes* we make to *our* own components 
deployed on *your* hosted platform, behaves as expected at all levels. Also 
for answering question about events that happened outside the time-span of 
your GKE log retention policy.

In short, to get hold of the consolidated logs that are a week or a couple 
old.

We use ELK elsewhere, but nothing beats having a CLI that easily 
facilitates ad-hoc exploration using "grep, perl, custom scripts etc", 
using plain log files (or unix streams), something that's also familiar to 
all developers in the company (no new web UI to learn). 

Also, Google deploys its version of k8s configured with stackdriver as the 
default log target, so it seemed appropriate to try leveraging that log 
store and its tools rather than setting up some other infrastructure for 
the same purpose, stuff which would then need to be maintained *by us* 
(cost and complexity). Path of least resistance it seemed.

I'd be glad to hear of other options, and especially for which purpose the 
gcloud logging feature was created (the main use cases you envisioned*).*

On Wednesday, 22 June 2016 18:27:21 UTC+2, Nicholas (Google Cloud Support) 
wrote:
>
> For what purpose are you using the gcloud beta logging component parsing 
> logs?  Perhaps, understanding more about your use case, we may be able to 
> suggest a more tailored solution for your goals.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/6b3b38ac-8fe6-4043-8b1f-1fb498e5ecc9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to