简体   繁体   English

Stackdriver 日志上的默认标记

[英]Default tag on Stackdriver logs

how would be possible to send log to Stackdriver and decide which fields to show on the main line as in the embedded image with Browser version, http method, response status code, etc. ?如何将日志发送到 Stackdriver 并决定在主线上显示哪些字段,如带有浏览器版本、http 方法、响应状态代码等的嵌入图像

Thanks谢谢

我们刚刚推出了一项新功能,允许您动态选择显示哪些字段: https : //cloud.google.com/logging/docs/release-notes#april_10_2018

Control over which fields show up in the un-expanded "summary" line of the logs viewer UI is now available .是控制哪些字段在日志查看器UI的未膨胀的“摘要”线显示 目前可用

See https://cloud.google.com/logging/docs/view/overview#custom-fields请参阅https://cloud.google.com/logging/docs/view/overview#custom-fields

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM