Logz.io MCP by usefulapi

v1.1.0
io.usefulapi/logz-io Checked 6 hours ago Published 7 days ago

Search logs, read alerts, enable or disable them, and read dashboards in Logz.io.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

logzio_whoami Show the connected account

Return the name and id of the Logz.io account this token belongs to. Logz.io API: GET /v2/whoami.

logzio_list_log_types List log types

List the log types (log type names) that the account has received. Use them to narrow a log search. Logz.io API: GET /v1/account/log-types.

logzio_list_time_based_accounts List log accounts

List the time-based log accounts (main and sub accounts) with retention and name settings. Logz.io API: GET /v1/account-management/time-based-accounts.

logzio_list_archive_settings List archive settings

List the archiving settings of the account (where logs are archived and how). Logz.io API: GET /v2/archive/settings.

logzio_search_logs Search logs

Search log messages with a Lucene query inside a time range. Returns the matching hits. Use `*` as the query for all logs. Returns up to 100 hits per call; page with `from`. Logz.io API: POST /v1/search.

ParameterTypeDescription
query *stringLucene query, for example `level:ERROR AND service:checkout`. Use `*` for all logs.
fieldsarrayOnly return these fields of each log (default: all).
fromintegerOffset of the first result (0-9900).
newest_firstbooleanSort by time, newest first (default true).
sincestringStart of the time range: relative (`now-15m`, `now-24h`) or ISO 8601 (`2026-11-25T00:00:00Z`). Default `now-1h`.
sizeintegerResults per page (1-100, default 20).
untilstringEnd of the time range, same format as `since`. Default `now`.

logzio_list_alerts List alerts

List the alert rules of the account with their enabled state, tags and search time frame. Logz.io API: GET /v2/alerts.

logzio_get_alert Get an alert

Return one alert rule by id, with its query, conditions and notification settings. Logz.io API: GET /v2/alerts/{alertId}.

ParameterTypeDescription
alert_id *integerThe alert id (from logzio_list_alerts).

logzio_list_triggered_alerts List triggered alerts

List alerts that fired, with their name, severity and event date. Filter by severity, name text or tags. Logz.io API: POST /v1/alerts/triggered-alerts.

ParameterTypeDescription
fromintegerOffset of the first result (0-9900).
searchstringPart of the alert name to match (case-insensitive).
severitiesarrayOnly alerts with these severities.
sizeintegerResults per page (1-100, default 20).
tagsarrayOnly alerts with these tags.

logzio_set_alert_enabled Enable or disable an alert

Enable or disable one alert rule. A disabled alert sends no notifications until it is enabled again. Repeating the same call leaves the alert in the same state. Logz.io API: POST /v2/alerts/{id}/enable or /disable.

ParameterTypeDescription
alert_id *integerThe alert id (from logzio_list_alerts).
enabled *booleantrue enables the alert, false disables it.

logzio_list_insights List insights

List the log insights that Logz.io found for the account (new error patterns and similar). Logz.io API: POST /v1/insights/list.

ParameterTypeDescription
end_msintegerEnd of the period, Unix time in milliseconds.
fromintegerOffset of the first result (0-9900).
insight_typesarrayOnly these insight types.
only_newbooleanOnly insights that are new.
searchstringText to match in the insight.
sizeintegerResults per page (1-100, default 20).
sort_bystringSort field.
start_msintegerStart of the period, Unix time in milliseconds.

logzio_list_audit_events List audit events

List account audit trail events (who changed what, and when), newest first by default. Logz.io API: POST /v1/audit-trail.

ParameterTypeDescription
event_typestringOnly this audit event type (see the event types in the response).
fromintegerOffset of the first result (0-9900).
from_msintegerStart of the period, Unix time in milliseconds.
newest_firstbooleanNewest first (default true).
sizeintegerResults per page (1-100, default 20).
to_msintegerEnd of the period, Unix time in milliseconds.

logzio_list_dashboard_folders List dashboard folders

List the dashboard folders (projects) of the account. Logz.io API: GET /perses-public/api/v1/projects.

logzio_list_dashboards List dashboards

List the dashboards of the account with their folder id and name. Logz.io API: GET /perses-public/api/v1/dashboards.

logzio_get_dashboard Get a dashboard

Return one dashboard with its panels and queries. Needs the folder id and dashboard uid from logzio_list_dashboards. Logz.io API: GET /perses-public/api/v1/projects/{projectId}/dashboards/{dashboardId}.

ParameterTypeDescription
dashboard_id *stringThe dashboard uid.
project_id *stringThe folder id (projectId) of the dashboard.