httpignorablecodes

Lists HTTP status codes that omhttp never retries.

This parameter applies to omhttp: HTTP Output Module.

Name:

httpignorablecodes

Scope:

input

Type:

array

Default:

input=none

Required?:

no

Introduced:

Not specified

Description

An array of strings that defines one or more HTTP status codes that omhttp treats as successfully handled after the HTTP response is received. Use this only when dropping the affected message is acceptable for the target system. For example, a Splunk HEC deployment may choose to ignore a known permanent HTTP 400 response after capturing the failed request in errorfile.

Codes listed here override the normal failure result. They do not make the remote service accept the data, and they do not replay the message later.

Input usage

module(load="omhttp")

action(
    type="omhttp"
    httpIgnorableCodes=["400", "404"]
)

See also

See also omhttp: HTTP Output Module.


Support: rsyslog Assistant | GitHub Discussions | GitHub Issues: rsyslog source project

Contributing: Source & docs: rsyslog source project

© 2008–2026 Rainer Gerhards and others. Licensed under the Apache License 2.0.