httpheaderkey¶
Defines the single custom HTTP header name to send with each omhttp request.
This parameter applies to omhttp: HTTP Output Module.
- Name:
httpheaderkey
- Scope:
input
- Type:
word
- Default:
input=none
- Required?:
no
- Introduced:
Not specified
Description¶
The header key. Currently only a single additional header/key pair is configurable with this parameter. To specify multiple headers use the httpheaders parameter. This parameter, along with httpheadervalue, may be deprecated in the future.
Input usage¶
module(load="omhttp")
action(
type="omhttp"
httpHeaderKey="X-Event-Source"
httpHeaderValue="logs"
)
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–2025 Rainer Gerhards and others. Licensed under the Apache License 2.0.