LOG SEARCH NEW

Level

log_read

History

Appears in 1 0 0

Description

Start a new paginated log research and set the first page as current If 'tz' is specified, 'first' and 'last' use this timezone Else, 'first' and 'last' use the firewall timezone

Usage

[view=<view name>|file=<file name>] first=<date> [last=<date>] [tz=<timezone offset of first and last>] pagesize=<size> [pattern=<search pattern>]

Remark

The search pattern is a space separated string containing some criteria like '<token><op><value>' where:
- <token> is a log line token (or 'any')
- <op> is '=' or '!='
- <value> is a regular expression, optionally surrounded by single quotes
The 'any' token can be used in the search pattern to accept log lines containing the associated value in any token
Additionnal rights may be needed to read some files
server log require ADMIN level

Example

LOG SEARCH NEW view=server pagesize=20 first="2002-06-30 23:00:00" last="2002-07-01 12:00:00" tz=+0001 pattern="token!=foo token2='bar' any=foobar"