V
V
Vellis-msk2020-02-26 15:32:56
Monitoring
Vellis-msk, 2020-02-26 15:32:56

Log monitoring?

Good afternoon!
We have Zabbix 3.4.11 and AppServer under Win.
Task: collection, analysis of logs and notification in case of updating errors and fatals.
A number of services write a log to their directory with a standard file name log.txt (for example, %windir%\service1\log.txt), and a number of services write a date in the name of the log file, for example - %windir%\service2\log20200225.txt , %windir%\service2\log20200226.txt etc.
If in the first case, everything seems to be clear, we create an item with a key, let's say log["%windir%\service1\log.txt","ERROR",100], then what about in the second case? How will it be correct to specify the regular expression of the file name in the key in order to get the actual data?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kisaa, 2020-02-26
@Vellis-msk

Likewise, the keylogrt

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question