Hi !
I have a new problem. I saw some topics about that but no answers :
I want to use the key log -> log[/tmp/zabbix_server.log,error] :
My zabbix's log file is huge (what's why I prefer don't use log[/tmp/zabbix_server.log] )
But this expreg finds "error" but no "Error" or "ERROR"...or even "errors", etc...
And if someone know the date format of this file :
example : 22893:20100413:153934.382
format : ???:yMd:hms.???
thank you !
PS : I found an solution : log[/tmp/zabbix_server.log,[Ee][Rr][Rr][Oo][Rr]] but I didn't find the date format...
PS2 : log[/tmp/zabbix_server.log,[Ee][Rr][Rr][Oo][Rr]] -> all lines are 'true', so not working
I have a new problem. I saw some topics about that but no answers :
I want to use the key log -> log[/tmp/zabbix_server.log,error] :
My zabbix's log file is huge (what's why I prefer don't use log[/tmp/zabbix_server.log] )
But this expreg finds "error" but no "Error" or "ERROR"...or even "errors", etc...
And if someone know the date format of this file :
example : 22893:20100413:153934.382
format : ???:yMd:hms.???
thank you !
PS : I found an solution : log[/tmp/zabbix_server.log,[Ee][Rr][Rr][Oo][Rr]] but I didn't find the date format...
PS2 : log[/tmp/zabbix_server.log,[Ee][Rr][Rr][Oo][Rr]] -> all lines are 'true', so not working
Comment