$month¶
Provides the current month as a two-digit number.
This property belongs to the Time-Related System Properties group.
- Name:
$month
- Category:
Time-Related System Properties
- Type:
integer
Description¶
The current month (2-digit).
Usage¶
template(name="example" type="list") {
property(name="$month")
}
See also¶
See rsyslog Properties for the category overview.
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.