LOG DOWNLIMIT

Level

log_read

History

Format Appears in 9 0 0
level changes from log to log_read in 9 0 0

Description

Get log from date up to a number of lines If 'tz' is specified, 'first' uses this timezone Else, 'first' uses the firewall timezone

Usage

name=<log name> [first=<first date> [tz=<timezone offset of first>]] number=<number>

Remark

Additionnal rights may be needed to read some files
if first date is not in a comprehensible format command will run in "last" mode

Format

list

Example

LOG DOWNLIMIT name=alarm first="2002-07-01 07:00:00" number=100 will return 100 lines starting to the date
LOG DOWNLIMIT name=web number=100 will return last 100 lines in log web, (used by monitoring)