# RetrieveNewLogsFromStart

Whether to read newly discovered container logs from start; default `on`.

This parameter applies to imdocker: Docker Input Module.

Name:

  RetrieveNewLogsFromStart

Scope:

  module

Type:

  boolean

Default:

  module=on

Required?:

  no

Introduced:

  8.41.0

## Description

Specifies whether imdocker processes newly found container logs from the beginning. Containers that exist when imdocker starts are controlled by `GetContainerLogOptions` and its `tail` option.

## Module usage

    module(load="imdocker" RetrieveNewLogsFromStart="...")

## Notes

- The original documentation described this as a binary option; it is a boolean parameter.

## See also

See also imdocker: Docker 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.