├── .gitignore ├── LICENSE ├── README.md ├── app.py ├── docs └── 知识储备.adoc ├── logscan.xmind ├── logscan ├── __init__.py ├── check.py ├── count.py ├── match.py ├── notification.py ├── scan.py ├── schedule.py └── watch.py ├── scripts ├── condition.py └── pool.py └── test_scripts ├── basic.py ├── cond_example.py ├── event_example.py ├── lock_example.py ├── queue_example.py ├── test └── watchdog_test.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magedu/logscan/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magedu/logscan/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # logscan 2 | 3 | 实时监控日志,根据规则发送报警 4 | -------------------------------------------------------------------------------- /app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magedu/logscan/HEAD/app.py -------------------------------------------------------------------------------- /docs/知识储备.adoc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magedu/logscan/HEAD/docs/知识储备.adoc -------------------------------------------------------------------------------- /logscan.xmind: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magedu/logscan/HEAD/logscan.xmind -------------------------------------------------------------------------------- /logscan/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /logscan/check.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magedu/logscan/HEAD/logscan/check.py -------------------------------------------------------------------------------- /logscan/count.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magedu/logscan/HEAD/logscan/count.py -------------------------------------------------------------------------------- /logscan/match.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magedu/logscan/HEAD/logscan/match.py -------------------------------------------------------------------------------- /logscan/notification.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magedu/logscan/HEAD/logscan/notification.py -------------------------------------------------------------------------------- /logscan/scan.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magedu/logscan/HEAD/logscan/scan.py -------------------------------------------------------------------------------- /logscan/schedule.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magedu/logscan/HEAD/logscan/schedule.py -------------------------------------------------------------------------------- /logscan/watch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magedu/logscan/HEAD/logscan/watch.py -------------------------------------------------------------------------------- /scripts/condition.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magedu/logscan/HEAD/scripts/condition.py -------------------------------------------------------------------------------- /scripts/pool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magedu/logscan/HEAD/scripts/pool.py -------------------------------------------------------------------------------- /test_scripts/basic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magedu/logscan/HEAD/test_scripts/basic.py -------------------------------------------------------------------------------- /test_scripts/cond_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magedu/logscan/HEAD/test_scripts/cond_example.py -------------------------------------------------------------------------------- /test_scripts/event_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magedu/logscan/HEAD/test_scripts/event_example.py -------------------------------------------------------------------------------- /test_scripts/lock_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magedu/logscan/HEAD/test_scripts/lock_example.py -------------------------------------------------------------------------------- /test_scripts/queue_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magedu/logscan/HEAD/test_scripts/queue_example.py -------------------------------------------------------------------------------- /test_scripts/test: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test_scripts/watchdog_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/magedu/logscan/HEAD/test_scripts/watchdog_test.py --------------------------------------------------------------------------------