Skip to main content
Connect AWS CloudWatch to NOFire AI to query and analyze application logs across Kubernetes and microservices environments. NOFire AI uses these logs during investigation and automated root cause analysis. NOFire AI follows AWS best practices for secure access, using an assumed role and an external ID.

Prerequisites

  • An AWS account, and permission to create IAM policies and roles in it.
  • Your 12-digit AWS account ID, and the region your log groups are in.
  • The external ID shown on the NOFire AI dashboard when you add the connection.

Step 1: Create IAM role

Step 2: Add AWS CloudWatch connection to NOFire AI

Open Connections

  1. Open Connections and click Connect on Cloudwatch. NOFire AI Cloudwatch Connection Listing V2 Pn
  2. Enter credentials:
    1. Name (for example, production)
    2. Region (for example, us-east-1)
    3. IAM Role ARN
    4. External ID

      NOFire AI CloudWatch Connection Form


      Click Connect to create the connection
  3. 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 CloudWatch 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 external ID on the connection must match the one in the trust policy of the role exactly, and the trust policy must name the NOFire AI account ID 593113792344.
The Resource line in the policy names a region or an account ID that does not hold your log groups. Edit the policy and correct both values.