Our next-gen architecture is built to help you make sense of your ever-growing data Watch a 4-min demo video!

Back to All Integrations

GCP Log Explorer GCP Log Explorer

Last Updated: Mar. 30, 2022

Log Explorer is one of the first tools to use to troubleshoot issues and find a solution quickly to problems you might be facing. Coralogix came up with an easy way to help you export Log Explorer logs to help you visualize and filter them and create dashboards to see trends and issues that might arise. Following the steps below will guide you through how to set up log explorer integration.

1) Create a bucket in the same region as the login project
2) Search for cloud storage in the search bar.
3) Click ‘create bucket’.

Complete the info for your bucket

bucket info

In the search, look for Logging

Select ‘Logs Router’ and then ‘Create Sink’

sink logs router

Give the SINK a name and point it to the bucket you created earlier.

sink name and destination

After that, you want to go to Google Cloud Functions and create a function.

  • Give the function a name. in the region, you want to select the same region as your bucket.
  • Trigger Type select cloud Storage.
create google clouds function

Change “Event Type“ to “Finalize/Create“

Change the memory Allocated to 1GiB and the timeout to 300s and complete the info in the table below.

Private keyApp_name Sub_name
Your private key from Coralogix UI under settings>send your logs.Give your app a nameGive your subsystem a name
runtime build and connection settings

Hit Save and click next.

Make sure to enable API if it is not already enabled by clicking on the button that says enable API in the new screen or by going to Cloud Build API and enable API.

enable API

Complete the configuration of the function and hit deploy.

View the full code repository here.

On this page