A package to parse log files
Project description
gen_log_parser
- This library contains a pyCLass that can be enstantiated to create log objects "log_parser()"
- From the object various method can be used parse thru logs depending on the log format of the file
- v0.0.2 can be used to parse thru the following log formats:
- json formated logs
- custom formated nginx log
NOTE:
- The nginx parser works with the following nginx log format:
- log_format new_default $remote_addr - $remote_user - $time_local - $request - $status - $body_bytes_sent - $http_referer - $http_user_agent - $http_x_forwarded_for;
- If the log format on the nginx server is modified, then the method from the object will not work
- The class must be inherited and the nginx method must be modified to statisfy the log format
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
gen_log_parser-0.0.2.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for gen_log_parser-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7800919f2fcf69587b9a4c93045178774ab0be8ceff0c3b75ca652ca98a5560 |
|
MD5 | 1628c89ca617954e297b221b786dac73 |
|
BLAKE2b-256 | c7ba3677e94f70dc75a7784d26e8a519176f3c4088a4d1aa73e2f90414de7a31 |