---
title: "Get log parser configuration"
method: GET
path: "/v1/log-parsers/{parser-type}"
tags: ["Log Parsers"]
---

# Get log parser configuration

`GET /v1/log-parsers/{parser-type}`

Retrieve the configuration document for the given server-side log parser
(syslog, Windows event log, or OpenTelemetry log). The configuration is an
XML document returned verbatim in the `content` field; an empty string means
no parser rules are configured.

## Response `200`

Log parser configuration retrieved successfully

- LogParser
  - `type` 'syslog' | 'windows-event' | 'opentelemetry' — Log parser type
  - `content` string — Parser configuration as an XML document (empty string if no rules are configured)

## Other responses

- `403` — Access denied (requires "Server configuration" access right)
- `404` — Unknown parser type

## Changes

- **2026-06-25** `4c9565b0add1` — 1 info
  - endpoint added
- **2026-05-08** `c6aaf3632e48` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/netxms/apis/netxms-api/changes/v1/log-parsers/:parser-type/get.md)

---

[API](https://skmtc.dev/netxms/apis/netxms-api.md) · [All operations](https://skmtc.dev/netxms/apis/netxms-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/netxms/netxms-api/revisions/b04ea2fbcedb/schema)
