Skip to content

Update a log parser.

PUT
/log_parsers/{parser_id}
curl --request PUT \
--url https://api.siteqwality.com/log_parsers/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "name": "example", "description": "example", "enabled": true, "priority": 1, "detect_pattern": "example", "source_filter": "example", "parse_type": "example", "parse_config": "example", "field_mapping": "example" }'
parser_id
required
string format: uuid

Log parser identifier

Media type application/json
object
name
string | null
description
string | null
enabled
boolean | null
priority
integer | null format: int32
detect_pattern
string | null
source_filter
string | null
parse_type
string | null
parse_config
field_mapping
Example generated
{
"name": "example",
"description": "example",
"enabled": true,
"priority": 1,
"detect_pattern": "example",
"source_filter": "example",
"parse_type": "example",
"parse_config": "example",
"field_mapping": "example"
}

Parser updated

Missing or invalid authentication

Parser not found

Internal server error