Python utility to parse log files and send them to a Sentry server.
Project description
pylogwatch
==========
Log file parser, which sends the contents of log files to a centralized Sentry server. Meant for periodic execution via cron.
Config
==========
So far the config format is quite simple. It currently looks like this:
```
DEBUG=True
RAVEN = {
'dsn':'<RAVEN_DSN_URL>',
}
# List of files to monitor and their associated formatters
FILE_FORMATTERS = {
'/var/log/syslog': ('formatters.base.SysLogDateFormatter',
'formatters.base.SysLogProcFormatter',),
'/var/log/auth.log': ('formatters.base.SysLogDateFormatter',
'formatters.base.SysLogProcFormatter',),
'/var/log/apache/error.log': ('formatters.web.ApacheErrorLogFormatter',),
}
```
DB
==========
PyLogWatch will automaticall create a SQLite database in the folder where it resides.
==========
Log file parser, which sends the contents of log files to a centralized Sentry server. Meant for periodic execution via cron.
Config
==========
So far the config format is quite simple. It currently looks like this:
```
DEBUG=True
RAVEN = {
'dsn':'<RAVEN_DSN_URL>',
}
# List of files to monitor and their associated formatters
FILE_FORMATTERS = {
'/var/log/syslog': ('formatters.base.SysLogDateFormatter',
'formatters.base.SysLogProcFormatter',),
'/var/log/auth.log': ('formatters.base.SysLogDateFormatter',
'formatters.base.SysLogProcFormatter',),
'/var/log/apache/error.log': ('formatters.web.ApacheErrorLogFormatter',),
}
```
DB
==========
PyLogWatch will automaticall create a SQLite database in the folder where it resides.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
PyLogWatch-0.1.4-alpha.tar.gz
(16.9 kB
view details)
File details
Details for the file PyLogWatch-0.1.4-alpha.tar.gz
.
File metadata
- Download URL: PyLogWatch-0.1.4-alpha.tar.gz
- Upload date:
- Size: 16.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b486e6b023b706f4de1104c7c4a968506994f01ab2a157c9b2b1ef4b43eb09e |
|
MD5 | 40e54d6c385ad19d9bbd7a2186a47b64 |
|
BLAKE2b-256 | ad64e2710c52a6a60fc8e71e1f223cea5e0ae828ef3897d8c4efa86ca68f5e09 |