omhdfsDefaultTemplate¶
Sets the template omhdfs applies when no template is specified for an action.
This parameter applies to omhdfs: Hadoop Filesystem Output Module.
- Name:
omhdfsDefaultTemplate
- Scope:
module
- Type:
word
- Default:
RSYSLOG_FileFormat
- Required?:
no
- Introduced:
Not documented
Description¶
Default template to be used when none is specified. This saves the work of specifying the same template repeatedly. Of course, the default template can be overwritten by specifying a template directly on an action.
Module usage¶
$ModLoad omhdfs
$omhdfsFileName /var/log/hdfs/system.log
$omhdfsDefaultTemplate RSYSLOG_FileFormat
# write all messages to HDFS using the custom default template
**:omhdfs:
Legacy names (for reference)¶
Historic names/directives for compatibility. Do not use in new configs.
$OMHDFSDefaultTemplate— maps toomhdfsDefaultTemplate(status: legacy)
See also¶
See also omhdfs: Hadoop Filesystem 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.