Does StackDriver support Syslog protocol?

2019-07-14 15:59发布

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条回答
狗以群分
2楼-- · 2019-07-14 16:19

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.

查看更多
登录 后发表回答