Skip to main content

Log analysis and filtering tools

Project description

logtools A log files analysis / filtering framework.

logtools encompasses of a few easy-to-use, easy to configure command-line tools, typically used in conjunction with Apache logs.

The idea is to standardize log parsing and filtering using a coherent configuration methodology and UNIX command-line interface (STDIN input streaming, command-line piping etc.) so as to create a consistent environment for creating reports, charts and other such log mining artifacts that are typically employed in a Website context.

Use case examples (Assuming a configured ~/.logtoolsrc, see Documentation):

  • Get aggregated (IP, Country) count for all Bot visits:

    cat access_log.2010-05-15 | filterbots –print –reverse | geoip | sort | uniq -c | sort -k1,1nr

  • Get a random sampling of 50 lines from an arbitrarily large input log stream:

    cat error_log.1 | filterbots –print | logsample -n50

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

logtools-0.1.tar.gz (6.5 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