Skip to main content
Connecting your Loki instance to NOFire AI lets NOFire query your application and infrastructure logs when something breaks. NOFire AI queries Loki on demand during a root cause analysis. It does not copy your logs.
If you are running a self-hosted Loki instance, NOFire AI can connect securely using an AWS VPC PrivateLink. This ensures all traffic remains within your network boundary, following AWS security best practices.

Prerequisites

  • A Loki instance that NOFire AI can reach.
  • The query endpoint URL of that instance.

Step 1: Setup Loki instance integration

Grafana Cloud (skip for on-prem)

Step 2: Add Loki connection to NOFire AI

Open Connections

  1. Open Connections and click Connect on Loki. NOFire AI Loki Connection Pn
  2. Enter Name (for example, production), the Loki URL, and Username/Password (optionally for on-prem, required for Grafana Cloud):

    NOFire AI Loki Form Connection

    Once the connection to your log source is established, NOFire AI will query and analyze logs on-demand as part of its automated root cause analysis. Logs are used to enrich the investigation process.

Test the connection

  1. Open Connections and make sure that the Loki 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 URL points at a different stack, or the labels you query do not exist in that Loki instance. Run the same query in Grafana against the same URL.