V1_SERVICELOG:(8)

NAME
v1_servicelog - servicelog database query tool

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

DESCRIPTION

    Without any command-line arguments, prints the statistics of the current servicelog database contents.

--dump
    Dumps all of the events in the servicelog database.

--query='<query>'
    Prints all of the events that match the query string. <query> is formatted like the WHERE clause of an SQL statement

--version | -V
    Print the version of the command and exit

--help | -h
    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