Linux::Systemd::Journal::Read - Read from systemd journals
version 1.201600
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.
$field
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"
match(field =
match_and(field =
match_or(field =
flush_matches
Clears the match filters.
Ioan Rogers <ioanr@cpan.org>
This software is Copyright (c) 2020 by Ioan Rogers.
This is free software, licensed under:
The GNU Lesser General Public License, Version 2.1, February 1999
To install Linux::Systemd, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Linux::Systemd
CPAN shell
perl -MCPAN -e shell install Linux::Systemd
For more information on module installation, please visit the detailed CPAN module installation guide.