NAME

Linux::Systemd::Journal::Read - 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.

AUTHOR

Ioan Rogers <ioanr@cpan.org>

COPYRIGHT AND LICENSE

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