cloudprober / cloudprober

An active monitoring software to detect failures before your customers do.

Home Page:http://cloudprober.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for JSON logs

icco opened this issue · comments

I would love if there were a JSON log formatting option. Logs are currently plain strings which can be hard to dynamically parse with some services.

#462 may fix this. Not committed yet.

@icco This is done in the code in the repo. You can use the flag --logfmt=json flag to export logs in JSON format.

Ways to use this unreleased version: "main" docker tag, or the "tip" release. It will go out in the v0.12.9 release, later this month.

Thanks we're rolling it out today!