We've got a Google Compute Engine webserver running Ubuntu on Google Cloud Platform, which sends logs to the Stackdriver Logging API "v1beta"
We received emails from Google Cloud Platform about the Stackdriver Logging API v1beta3 deprecation, alerting us that our "project" is still accessing the v1 API, and advising us to switch to the v2 API. The email advised upgrading the Stackdriver Logging Agent (fluentd), which I have done.
If I try to send a log item from the command line on that server:
logger "Hello world!"
It still appears in the Stackdriver Log in the v1 API format (with metadata.projectId, metaData.serviceName, etc.)
How can I configure fluentd to hit the v2 API instead of the deprecated v1 API? I have to update all the logging integration in the apps on this server, but I can't see where or how to get the logging agent to use the new API.