Log parse, comment, mark, filter quickly and finally find out the root cause.
Upload a log file, parse log and save in DB.
List all log files.
[
{
id:1,
filename:"foo.log",
createdAt:"2021-08-11 12:00:12"
}
]
Delete log file and related stuff.
Show logs in log file
Parameter | type | explaination |
---|---|---|
omit | bool | include omit lines or not, default false |
token | string | search token, match content of log |
marks | enum array | mark type, 0 none, 1 red 2 green 3 orange 4 blue |
remark | bool | only remarked lines or include not remarked lines |
Comment or mark a log
Parameter | type | explaination |
---|---|---|
omit | bool | wether omit the log line |
remark | string | add comment the log line |
mark | enum | mark type,, 0 none, 1 red 2 green 3 orange 4 blue |
Get logfile config
[
{
name:"time",
expression:"^\[\d{13}\]",
priority:1
}
]
Add logfile config
Parameter | type | explaination |
---|---|---|
name | string | column name |
expression | string | column extract expression |
Update logfile config
Parameter | type | explaination |
---|---|---|
name | string | column name |
expression | string | column extract expression |
priority | integer | display priority |
Delete a logfile config.