dynrestpath¶
Enables using a template name in restpath so each message can select a REST path dynamically.
This parameter applies to omhttp: HTTP Output Module.
- Name:
dynrestpath
- Scope:
input
- Type:
boolean
- Default:
input=off
- Required?:
no
- Introduced:
Not specified
Description¶
When this parameter is set to on you can specify a template name in the restpath parameter instead of the actual path. This way you can use dynamic REST paths for your messages based on the template you are using.
Input usage¶
template(name="tpl_dynamic_path" type="string" string="tenant/%hostname%/events")
module(load="omhttp")
action(
type="omhttp"
dynRestPath="on"
restPath="tpl_dynamic_path"
)
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.