Optionally emit __CURSOR for journald source #18881
Labels
source: journald
Anything `journald` source related
type: feature
A value-adding code addition that introduce new functionality.
A note for the community
Use Cases
Some platforms with older versions of systemd do not have
__SEQNUM
or__SEQNUM_ID
, and so events do not contain sufficient uniqueness to derive an id for indexing (without resorting to hashing the message or similar, which doesn't let you work backwards to locate the original event at the source).Attempted Solutions
No response
Proposal
The
__CURSOR
field does actually contain the__SEQNUM
and__SEQNUM_ID
, even on systems that don't have those fields, so it would be good to be able to optionally emit the cursor with the event.So I propose that we add a boolean option
emit_cursor
to enable sending__CURSOR
with the event for use on older platforms, instead of stripping it out as currently occurs.References
No response
Version
No response
The text was updated successfully, but these errors were encountered: