The Google Cloud API Gateway Logging integration enables you to send API Gateway logs from Google Cloud Platform (GCP) to FireTail. This helps you keep track of API traffic, performance, and security using FireTail's logging and analysis tools. By having detailed log data continuously sent to FireTail, you get better insights into how your APIs are working, making it easier to spot and fix problems faster.
To set up the integration, follow the steps below to deploy the necessary resources.
1. Navigate to Integrations in the FireTail platform.
2. Select the Create Integration tab.
3. Click Google Cloud API Gateway Logging.
4. Select an existing GCP API Gateway from the dropdown menu.
5. Generate an app token.
6. Go to https://ssh.cloud.google.com/cloudshell/editor?cloudshell_git_repo=https://github.com/firetail-io/firetail-google-apigateway-logging-cloud-function. You will need to indicate that you trust the repo.
7. When the Cloud Shell editor is open, first run the below script to authenticate:
8. Follow any prompts in the editor to complete authentication.
9. Run the below script in the editor:
Note: The following information must be inputted into the script: