StackDriver是否支持Syslog协议? [英] Does StackDriver support Syslog protocol?

查看:154
本文介绍了StackDriver是否支持Syslog协议?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

StackDriver是否支持Syslog协议?如果是的话,有人可以共享一个例子吗?



对于上下文,我正在寻找使用Syslog协议写入日志条目到StackDriver。我浏览过文档,并没有办法做到这一点。所以,关闭方法似乎是使用StackDriver代理。但是,我想通过消息记录策略



我知道可以利用REST API发送这些条目。然而,我试图避免创建额外的HTTP层。



任何帮助表示赞赏。提前致谢!

解决方案

不支持。由团队证实。我最终使用OAuth的服务帐户凭据实现了REST API的Node.js包装。我将在NPM中发布这个包,以供任何想利用它的人使用。


Does StackDriver support Syslog protocol? if so, can someone share an example?

For context, I'm looking to write logging entries to StackDriver using Syslog protocol. I've looked through the documentation and haven't a way to do so. So, far the closes approach seems to be using StackDriver agent. However, I want to leverage API Gateways such as Apigee, which support Syslog protocol through Message Logging Policy.

I know that REST API could be leveraged to send these entries. However, I'm trying to avoid creating additional HTTP layers.

Any help is appreciated. Thanks in advance!

解决方案

It's not supported. Confirmed by the team. I have ended up implementing a Node.js wrapper of the REST API using service account credentials for OAuth. I will publish the package in NPM for anyone who wants to leverage same.

这篇关于StackDriver是否支持Syslog协议?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆