Skip to main content

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.

Project details


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.1-alpha.tar.gz (16.5 kB view details)

Uploaded Source

File details

Details for the file PyLogWatch-0.1.1-alpha.tar.gz.

File metadata

File hashes

Hashes for PyLogWatch-0.1.1-alpha.tar.gz
Algorithm Hash digest
SHA256 a67fc72dd0b99de8a99b359b1bd5e4038af4c19dd9802a30a005366fbf7d6a29
MD5 d3908a191c3b150a0c91afd60071c8b4
BLAKE2b-256 babd0a2f3601b14dfd53b57c08e4a70374487536cbb784d247278a3ebe5e4d37

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page