DOKK / manpages / debian 11 / servicelog / v1_servicelog.8.en
V1_SERVICELOG:(8) System Manager's Manual V1_SERVICELOG:(8)

v1_servicelog - servicelog database query tool

v1_servicelog {[--dump] | [--query='<query>']} [-vVh]

Without any command-line arguments, prints the statistics of the current servicelog database contents.
Dumps all of the events in the servicelog database.
Prints all of the events that match the query string. <query> is formatted like the WHERE clause of an SQL statement
Print the version of the command and exit
Print this help text and exit
Sample Queries:
servicelog --query='id=12'
prints the event with an ID of 12
servicelog --query='serviceable=1 AND closed=0'
prints all open (unfixed) serviceable events
servicelog --query='severity>=$WARNING AND closed=0'
prints all open events with a sev of WARNING or greater
servicelog --query="time_event>'2008-02-08'"
prints all events that occurred after Feb 08, 2008
v1_servicelog System Administration Utilities