-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Log format customization #362
Comments
Hi @klauern, thanks for filing the GH issue. I'd like to better understand your use case: how are you planning to use the logs from Kritis? i.e. what process will be consuming the logs? It sounds like
|
Hello @aysylu. We have some log ingest tooling that we would be using to create metrics off of the runtime operations of Kritis itself. This is part of a bigger set of questions around event tracking and metrics itself, but since Kritis' logs have a lot of the context, we would be happy to parse those out as a short-term solution. For instance, right now, we have Kritis deployed to our staging environment, but we don't have an easy way to determine:
Some of these can be gathered out-of-band, or outside of Kritis itself, but if these were emitted as a metric (Statsd, Prometheus, etc), it would make aggregating and monitoring the overall health of Kritis and our Kubernetes environment a whole lot easier. |
Hello @klauern, thanks for clarifying your use case. In my Monitorama PDX talk (slides, video), I discussed ways to extract this kind of information into Grafeas-structured metadata format. We could use the existing |
Is your feature request related to a problem? Please describe.
From what I can tell, the format for logs from Kritis are in the format of
glog
, which is not in an easily-digestable format.Describe the solution you'd like
I would like there to be an option to specify the output format, such as JSON, that can be used generically by log aggregators without customization. Additionally, if that were not possible, a formal specification of the
glog
log output format would be helpful for developing log parsers for the tools that we use to collect them.Describe alternatives you've considered
I don't see any way to format the log output, and from what I can see, there's not a lot of documentation outside of Google that explains what
glog
's format is or how it is expected to be digested.Additional context
I've looked a bit here: https://github.com/google/glog/blob/master/doc/glog.html
But I don't see much explaining the format there, either. More of a 'how to use this library' doc, and not for consumers of logs.
The text was updated successfully, but these errors were encountered: