Skip to main content
Connect your Google Cloud Logging instance to NOFire AI to query and analyze application and infrastructure logs across GCP environments. NOFire AI uses these logs during investigation and automated root cause analysis.
Google Cloud Logging uses service accounts for secure authentication. NOFire AI requires a service account with the correct permissions to read your logs.

Prerequisites

  • A Google Cloud project, and permission to create service accounts and keys in it.
  • Your Google Cloud project ID.

Step 1: Create service account and obtain credentials

Step 2: Add google Cloud logs connection to NOFire AI

Open Connections

  1. Open Connections and click Connect on Google Cloud Logs. NOFire AI Google Cloud Logs Connection Pn
  2. Enter Connection Details:
    • Connection Name: Enter a descriptive name (for example, “production-gcp-logs”)
    • Project ID: Enter your Google Cloud Project ID from Step 1.3
    • Service Account JSON: Paste the entire contents of the JSON key file that you downloaded in Step 1.10

    NOFire AI Google Cloud Logs Form Connection

  3. Connect: Click Connect. NOFire checks the credentials and creates the connection. After you connect to your log source, NOFire AI queries and analyzes logs on demand as part of its automated root cause analysis. Logs enrich the investigation process.

Test the connection

  1. Open Connections and make sure that the Google Cloud Logs connection shows Connected. A connection that shows Failing did not authenticate.
  2. Ask NOFire a question that needs logs, for example “show me the errors for the checkout service in the last hour”. An answer that quotes your log lines confirms the connection works end to end.

Troubleshooting

The JSON key is incomplete or belongs to a deleted service account. Paste the full contents of the file, from the opening brace to the closing brace.
The project ID names a different project than the one the service account belongs to, or the service account is missing the Logs Viewer role.