Trying to configure fluentd output with td-agent and the fluent-google-cloud plugin. The plugin and all dependencies are loaded but fluentd is not outputting to google cloud logging and the td-agent log states error="Unable to read the credential file specified by GOOGLE_APPLICATION_CREDENTIALS: file /home/$(whoami)/.config/gcloud/service_account_credentials.json does not exist".
However when I go to the file path, the file does exist and the $GOOGLE_APPLICATION_CREDENTIALS variable is set to the file path as well.What should I do to fix this?
td-agent does not validate google cloud service account credentials
170 Views Asked by Frosty At
1
There are 1 best solutions below
Related Questions in GCLOUD
- How to ban traffic from a specific zone in Google Cloud Compute instance?
- gcloud preview app deploy returns 400 error
- Google cloud SDK code to execute via cron
- Google HTTP load balancing enforce HTTPS
- google cloud sdk: set environment variable_ python --> linux
- ERROR: (gcloud.preview) Invalid choice: 'docker'. Did you mean 'dm-v2'?
- Creating Google Cloud Platform Projects without Console page.
- How to deploy a Sails.js project on Google cloud?
- Allowing users to connect with SSH without having sudo access?
- Google Cloud VM creates new version on deploy
- gcloud command not found - while installing Google Cloud SDK
- Can't SSH to GCloud after editing /etc/network/interfaces
- How to use gcloud commands programmatically via Python
- gcloud command not found -installing Google Cloud SDK
- Why isn't gcloud available to /usr/bin/sh on Google Compute Engine instances?
Related Questions in FLUENTD
- Fluentd parser plugin
- Can I use a dot in a config file of Fluentd using DSL?
- How to specify a self signed SSL CERT for td-agent/fluentd?
- Duplicating database with fluentd?
- kubelet does not create symlinks to /var/log/containers
- Could not push logs to Elasticsearch, resetting connection and trying again. read timeout reached
- google-fluentd : change severity in Cloud Logging log_level
- Parse logs in fluentd
- Parsing POSTFIX logs and sending to ElasticSearch
- Can you use environment variables in config file for fluentd
- what is the time that fluentd write to log file
- Repeat same match rules
- Google Stackdriver Error Reporting not picking up errors
- Fluentd influxdb installation Error?
- Is it possible to monitor a whole directory with fluentd?
Related Questions in TD-AGENT
- Fluentd - how to access logs in user home directory
- Logs are not sent to elasticsearch using fluentd. The log is written in one line
- Convert logstash filter to fluentd
- Fluentd: How to rotate td-agents/fluentd's own logs and .gz files?
- Extracting and logging only value of a key in fluentd
- No luck updating timestamp/time_key with log time in fluentd
- EFK (Elasticsearch+Fluentd-(td-agent)+Kibana): Kibana not showing correct logs
- Fluentd NewRelic output "time must be a Fluent::EventTime (or Integer): Float"
- How to use if condition in fluentd 0.12
- date is not appending to elasticsearch index name while using td-agent
- How to fix uninitialized constant Fluent::TailInput (NameError)?
- Using a single source in fluentd with different match types
- td-agent won't work on amazon linux 2
- convert system time to utc and utc to system fails
- Fluentd exclude filter works and doesn't work
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
On the assumption that the error and you are both correct, I suspect (!) that you're using your user account ( ==
whoami) and finding/home/$(whoami)/.config/gcloudwhile the agent is running (undersystemctl?) as root and not finding the credentials file there (perhaps/root/.config/gcloud.It would be helpful if you included more details as to what you've done in order that we can better understand the issue.