Skip to main content

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/>`_

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

logdissect-1.2.1.tar.gz (10.3 kB view hashes)

Uploaded Source

Supported by

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