# SysSock.UseSysTimeStamp

Obtains message time from the system instead of the message content.

This parameter applies to imuxsock: Unix Socket Input Module.

Name:

  SysSock.UseSysTimeStamp

Scope:

  module

Type:

  boolean

Default:

  module=on

Required?:

  no

Introduced:

  5.9.1

## Description

The same as the input parameter `UseSysTimeStamp`, but for the system log socket. This parameter instructs `imuxsock` to obtain message time from the system (via control messages) instead of using time recorded inside the message. This may be most useful in combination with systemd. Due to the usefulness of this functionality, we decided to enable it by default. As such, the behavior is slightly different than previous versions. However, we do not see how this could negatively affect existing environments.

## Module usage

    module(load="imuxsock" sysSock.useSysTimeStamp="off")

### Legacy names (for reference)

Historic names/directives for compatibility. Do not use in new configs. .. _imuxsock.parameter.legacy.systemlogusesystimestamp:

- $SystemLogUseSysTimeStamp — maps to SysSock.UseSysTimeStamp (status: legacy)

## See also

See also imuxsock: Unix Socket Input 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.