Parse, merge, and filter syslog files
Project description
Logdissect
-----
Logdissect is a tool for analyzing syslog files. It can merge entries from multiple log files and sort by timestamp, and filter the results by time range and other criteria. Results are output to the terminal by default, and can also be output to standard syslog file, or to a JSON array.
Options
```````
::
Usage: logdissect [options] <files>
--version show program's version number and exit
-h, --help show this help message and exit
--list-parsers returns a list of available parsers
--list-morphers returns a list of available morphers
--list-outputs returns a list of available output formats
-p PARSER specifies parser to use (default: syslog)
-s silences terminal output
-v sets verbose terminal output
Morph options:
--grep=PATTERN specifies a pattern to match
--host=HOST specifies a source host to match
--last=LAST specifies preceeding time period (5m/3h/2d/etc)
--process=PROCESS specifies a source process to match
--range=RANGE specifies the range <YYYYMMDDhhmm-YYYYMMDDhhmm>
--rgrep=RPATTERN specifies a pattern to filter out
Output options:
--outlog=OUTLOG sets the output file for standard log output
--label=LABEL sets label type for entries in OUTLOG <fname|fpath>
--outjson=OUTJSON sets the output file for JSON output
Links
`````
* `Releases <https://github.com/dogoncouch/logdissect/releases/>`_
* `README <https://github.com/dogoncouch/logdissect/blob/master/README.md>`_
* `Development source <https://github.com/dogoncouch/logdissect/>`_
-----
Logdissect is a tool for analyzing syslog files. It can merge entries from multiple log files and sort by timestamp, and filter the results by time range and other criteria. Results are output to the terminal by default, and can also be output to standard syslog file, or to a JSON array.
Options
```````
::
Usage: logdissect [options] <files>
--version show program's version number and exit
-h, --help show this help message and exit
--list-parsers returns a list of available parsers
--list-morphers returns a list of available morphers
--list-outputs returns a list of available output formats
-p PARSER specifies parser to use (default: syslog)
-s silences terminal output
-v sets verbose terminal output
Morph options:
--grep=PATTERN specifies a pattern to match
--host=HOST specifies a source host to match
--last=LAST specifies preceeding time period (5m/3h/2d/etc)
--process=PROCESS specifies a source process to match
--range=RANGE specifies the range <YYYYMMDDhhmm-YYYYMMDDhhmm>
--rgrep=RPATTERN specifies a pattern to filter out
Output options:
--outlog=OUTLOG sets the output file for standard log output
--label=LABEL sets label type for entries in OUTLOG <fname|fpath>
--outjson=OUTJSON sets the output file for JSON output
Links
`````
* `Releases <https://github.com/dogoncouch/logdissect/releases/>`_
* `README <https://github.com/dogoncouch/logdissect/blob/master/README.md>`_
* `Development source <https://github.com/dogoncouch/logdissect/>`_
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
logdissect-1.2.2.tar.gz
(10.4 kB
view hashes)