> For the complete documentation index, see [llms.txt](https://docs.pagerly.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pagerly.io/sre-ai-agent/data-sources/victorialogs.md).

# VictoriaLogs

## What the Agent Can Do

* Query logs using LogsQL syntax — filter by service, level, time range
* Discover available log streams — see what services are sending logs

## Setup Instructions

1. Get your **VictoriaLogs URL** (default port 9428)
2. If authentication is enabled, provide a bearer token
3. Enter the URL in the Pagerly dashboard

## Required Credentials

| Field                         | Description               | Example                    |
| ----------------------------- | ------------------------- | -------------------------- |
| **VictoriaLogs URL**          | VictoriaLogs HTTP API URL | `http://victorialogs:9428` |
| **Bearer Token** *(optional)* | Leave blank if no auth    | —                          |

## Context Prompt Tips

> *"Our logs use service label for filtering. Error logs are level:error. Production logs have env:prod."*

## Docs

* [VictoriaLogs Documentation](https://docs.victoriametrics.com/victorialogs/)
