timereceived¶
Alias for timegenerated that records when rsyslog received the message.
This property belongs to the Message Properties group.
- Name:
timereceived
- Category:
Message Properties
- Type:
timestamp
Description¶
timereceived is an alias for timegenerated. It returns
the same timestamp: the point in time when the operating system hands the
message to rsyslog’s reception buffer, before queueing or ruleset processing.
The alias exists because the older timegenerated name can be confused with
the sender-side timestamp. The sender-side timestamp remains
timereported.
Usage¶
template(name="example" type="list") {
property(name="timereceived")
}
See also¶
See timegenerated for the detailed behavior and rsyslog Properties for the category overview.
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.