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
171 Views Asked by Frosty At
1
There are 1 best solutions below
Related Questions in GCLOUD
- Permission 'storage.buckets.get' denied on resource (or it may not exist)
- ERROR: (gcloud.endpoints.services.deploy) INVALID_ARGUMENT: Cannot convert to service config
- Google API NodeJS - Getting 401 Unauthorized Error on Subsequent Runs After Successful OAuth2
- Problem using service accounts in gke deployment
- How to connect docker container to vpn site to site
- Is there anyway of setting datastore to use firebase firestore emulator? i.e Datastore in native mode
- ModuleNotFoundError: No module named 'main' in Flask application deployed on gcloud
- gcloud.app.deploy Error Response: [13] default Cloud Build service account or user-specified service account does not have access to the bucket
- GCP Java dev_appserver Can't make API call memcache.Get in a thread that is neither the original request thread nor a thread created by ThreadManager
- Google Sign-In for iOS and OAuth
- gcloud CLI: use IPv4 only
- Configure Lens with GKE cluster - gke_gcloud_auth_plugin issue
- Google recaptcha enterprise: Your default credentials were not found
- Configuring podman on google cloud server for deployment
- Google cloud shows persistent disk SSD is full, wherease I do not have anything deployed currently
Related Questions in FLUENTD
- FluentD / Fluent-Bit: Concatenate multiple lines of log files and generate one JSON record for all key-value from each line
- unable to serialize JSON type logs In fluentd(logging-operator)
- Calyptia Fluentd - CPU Utilization Issues
- Filter logs fluent-bit on regex parsing
- Fluentd - Opensearch: Logs not sending to Opensearch
- how to use fluentd to collect data from a service
- Are the fluentbit filter plugin filtering step by step?
- Azure App Service - unresponsiveness while connecting to Fluentd
- Elasticsearch not accepting ILM-Config from Fluentd
- Can't use Fluentd with the "fluent-plugin-sql" plugin
- How throttling can be prevented across loki , fluentd and fluent-bit
- Fluentd configuration for creating elasticsearch indices
- export metrics with fluentd
- Fluentd installation failed with message in Windows
- Not able to capture multiline logs using fluentd
Related Questions in TD-AGENT
- Fluentd: How to rotate td-agents/fluentd's own logs and .gz files?
- td-agent not starting after copying gems to a new server with identical versions
- How to use td-agent-bit to output log files as messages?
- When huge logs data is flushed, Getting below buffer overflow throw_exception and BufferOverflowError in fluent (td-agent version:1.6)
- fluentd: Not able to send syslogs to Elasticsearch using fluent-plugin-elasticsearch
- Fluentd Is Not Emitting Event and Giving Errors of unknown keywords
- Td-agent rename and import older logs
- td-agent-bit delivers only after restart and then stops
- td-agent ruby process has high cpu consumption
- Error Elasticsearch client not compatible with Elasticsearch server?
- Index not found exception while sending data to Opensearch AWS using td agent
- fluentd(td-agent) output file, Time is missing from the filename
- Extracting and logging only value of a key in fluentd
- Fluentd Throwing error and not uploading data to Elastic
- How to encrypt fluentd SQL plugin password?
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 # Hahtags
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.