Skip to main content
Connect VictoriaLogs to NOFire AI so NOFire can search your logs when it looks into a problem. NOFire queries VictoriaLogs on demand. It does not copy your logs.

What NOFire reads

  • Log records, with LogsQL queries over a time window.
  • Log field names and stream field names, so it can write a query that matches your fields.
  • Log volume, message counts and log anomalies, for the log_volume_analysis, log_message_counts and log_anomaly_analysis tools. These need the URL. They don’t work while the connection reads through an MCP server.
NOFire sends only read requests.

Prerequisites

  • The URL of VictoriaLogs, at its root, without /select/logsql:
    • Single node: the server itself, for example http://victorialogs.example.com:9428.
    • Cluster: vlselect, for example http://vlselect.example.com:9471. Use the port you set with -httpListenAddr.
    • Behind vmauth: the vmauth route that leads to VictoriaLogs or vlselect.
  • A read-only bearer token, if vmauth or another proxy with auth sits in front.
  • For a multitenant VictoriaLogs, the AccountID and ProjectID of the tenant to read. Without them NOFire reads tenant 0.

Connect directly

Use this when NOFire can reach VictoriaLogs over the internet.
  1. Open Connections and click Connect on VictoriaLogs.
  2. Fill in the form:
    • Name: a name you choose, for example production.
    • URL: the URL from the prerequisites, for example http://victorialogs.example.com:9428. Use http or https, with no user name, password, query string or fragment in it.
    • Bearer token (optional): the token for vmauth or your proxy.
  3. Open Advanced only if you need it:
    • Account ID and Project ID: digits only. NOFire sends them as the AccountID and ProjectID headers. Leave both empty for tenant 0.
    • Allow a private endpoint: check it when the URL resolves to a private address. Your account needs private network access for this.
    • Read through an MCP server: see Read through an MCP server.
  4. Click Connect. NOFire tests the connection first and saves it only if the test passes.

Read through an MCP server (optional)

By default NOFire reads the URL. If you run mcp-victorialogs, the VictoriaLogs MCP server, and want NOFire to read through it, turn on Read through an MCP server under Advanced. Two fields appear:
  • MCP server URL: required while the switch is on, for example https://mcp-victorialogs.example.com/mcp.
  • MCP token (optional): the token for the MCP server.
With the switch on, NOFire searches logs through the MCP server, and the URL becomes optional. If you fill it in anyway, NOFire stores it so you can turn the switch off later. NOFire does not send the Account ID and Project ID to the MCP server. Set the tenant in the MCP server’s settings instead. Log volume, message counts and log anomalies are not available while the switch is on, even if the URL is set. If you need them, turn the switch off. VictoriaLogs cannot go through Edge yet. NOFire must be able to reach the URL, or the MCP server, from the internet.

Test the connection

NOFire tests the connection when you click Connect. If the check fails, the message names it, for example Connection validation failed for logs query API (vl_query_url). After the test passes, 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 shows the connection works end to end.

Troubleshooting

Use the root of VictoriaLogs or vlselect. NOFire adds /select/logsql/... to the URL itself.
Check the time window and the service name first. If both are right, the logs may be in another tenant: set Account ID and Project ID under Advanced to the tenant you write to.
The connection reads through an MCP server. Turn off Read through an MCP server and make sure URL is set.
A connection that holds a token cannot change where it sends requests. NOFire refuses with “Changing a connection’s destination requires recreating the connection”. Delete the connection and create it again with the URL.