Does StackDriver support Syslog protocol?

五迷三道 提交于 2020-02-24 05:13:04

问题


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!


回答1:


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.



来源:https://stackoverflow.com/questions/40968943/does-stackdriver-support-syslog-protocol

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!