[systemd-devel] date ranges with systemd-journal-gatewayd

Jameson Graef Rollins jrollins at finestructure.net
Wed Jan 24 16:36:59 UTC 2018


On Wed, Jan 24 2018, Lennart Poettering <lennart at poettering.net> wrote:
> On Mi, 10.01.18 16:46, Jameson Graef Rollins (jrollins at finestructure.net) wrote:
>
>> Hello.  Is it possible to specify date ranges with
>> systemd-journal-gatewayd (i.e. equivalent of --since= and --until= in
>> journalctl)?  I see there is a "Range:" header option that allows
>> restricting entries by "cursor", but I can't figure out how to translate
>> dates into that interface.
>
> Cursors won't help you to filter by date.
>
> Filtering by date is not available currently in
> systemd-journal-gatewayd. But adding this does make sense. Please file
> a github RFE issue about this. Or even better, post a github PR that
> adds this!

Thanks for the response, Lennart.  I actually see now that an RFE has
already been submitted:

https://github.com/systemd/systemd/issues/4883

I'll look into making a patch.

jamie.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20180124/e78447d9/attachment.sig>


More information about the systemd-devel mailing list