Varun Bhandari
Varun Bhandari

Reputation: 1

Send log using fluentd from one GCP project to another GCP project

I need to do a setup where I nee to send logs from one GCP Project to another GCP Project. We will have two central projects: application-logging and application monitoring. The application projects will be monitored using central monitoring project application monitoring via shared GCP Monitoring Workspace. But I am not able to find any config similar to monitoring for logging. For example: My GCE instance will reside in application-project and from that instance I need to send logs using fluentd to application-logging project in Stackdriver.

Let me know if any solution exists for this scenario. Don't want to use Log Sink.

Upvotes: 0

Views: 803

Answers (2)

Mary Koes
Mary Koes

Reputation: 11

I'm a product manager with Cloud Logging. This is a relatively new feature that comes with log buckets. You can redirect logs from App GCP Project to Central Logging GCP project. A few resources that might be helpful:

Upvotes: 1

Jaroslav
Jaroslav

Reputation: 742

You can achieve that without "fluentd". You need to create a sink to export logs with Custom destination send your logs from one project to a destination in another project. The documentation on how to do it can be found in oficial GCP page.

Upvotes: 0

Related Questions