-->

Does StackDriver support Syslog protocol?

2019-07-14 16:00发布

问题:

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.