Skip to main content
Glama

get_loki_series

Retrieve log series label combinations from Loki using selectors and time ranges to filter and analyze log data.

Instructions

Get series (label combinations) matching label selectors from a Loki datasource

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
datasourceUidYesThe Loki datasource UID
matchYesSeries selectors as label matchers (e.g., ["{job=\"varlogs\"}"])
startNoStart time (RFC3339 or Unix timestamp)
endNoEnd time (RFC3339 or Unix timestamp)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/quanticsoul4772/grafana-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server