Hi all!
Following this documentation
We are streaming the logs from HostOS to a container and persisting them in files on the data storage.
We are using the “since” flag.
According to the documentation journalctl
Date specifications should be of the format "
2012-10-30 18:17:16
"
Note that--output=short-full
prints timestamps that follow precisely this format.
-
From within the HostOS, we can specify the timestamp format “Thu 2023-11-09 17:40:00 UTC” that is accepted by “since” flag
-
From the container, unless we are missing something, it seems that the Supervisor’s API is ignoring it. The timestamp remains in the format “Nov 09 17:46:00”, which is not accepted by “since” flag
It would be useful to be able to specify the format of the timestamp through the Supervisor’s API, to avoid having to parse the incoming timestamps and convert them to another format, or at least to be able to specify a format that is compliant with the “since”/“until” flags
Any hints?
Thank you and best regards!