Journal Logs Timestamp formats

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.

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!

Hi all!

In this regard I solved using the tag format instead of output and it’s working!

Maybe this will help someone

Thank you and best regards!

1 Like