Linux::Systemd::Journal::Read(3pm)

Linux::Systemd::Journal::Read3pm

Read from systemd journals

Version

version 1.201600

Methods

c<get_usage>

Returns the number of bytes used by the open journal

"seek_head"

Seeks to the start of the open journal.

"seek_tail"

Seeks to the end of the open journal.

"next"

Moves to the next record.

get_data($field)

Returns the value of $field from the current record.

See systemd.journal-fields(7) for a list of well-known fields.

"get_entry"

Returns a hashref of all the fields in the current entry.

This method is not a direct wrap of the journal API.

"get_next_entry"

Convenience wrapper which calls "next" before "get_entry"

This method is not a direct wrap of the journal API.

"match(field =" value)>

"match_and(field =" value)>

"match_or(field =" value)>

"flush_matches"

Clears the match filters.

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

Author

Ioan Rogers <[email protected]>

From liblinux-systemd-perl 1.201600-4+b4 in Debian 13 (Trixie). Parsed by carta from the page's man source.