尝试使用 td-agent 和 fluent-google-cloud 插件配置 fluentd 输出。插件和所有依赖项都已加载,但 fluentd 没有输出到谷歌云日志和 td-agent 日志状态error="Unable to read the credential file specified by GOOGLE_APPLICATION_CREDENTIALS: file /home/$(whoami)/.config/gcloud/service_account_credentials.json does not exist"
。但是,当我转到文件路径时,该文件确实存在,并且 $GOOGLE_APPLICATION_CREDENTIALS 变量也设置为文件路径。我应该怎么做才能解决这个问题?
问问题
35 次