Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Internet > Log Analyzers

    TinyLogAnalyzer 0.4.0

    Download button

    No screenshots available
    Downloads: 226  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Keul | More programs
    GPL / FREE
    October 5th, 2011, 19:21 GMT [view history]
    ROOT / Internet / Log Analyzers

     Read user reviews (0)  Refer to a friend  Subscribe

    TinyLogAnalyzer description

    Simple bash utility for analyse HTTP access log with enabled response time

    TinyLogAnalyzer is a project that adds to your system a new utility command: tinylogan. This utility only works with Apache-like access HTTP log where the response time data is enabled.

    To know how to do this, see this blog post or, in brief change the configuration of your log format from something like:

    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined

    To this:

    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %T/%D" combined

    The log record will change to something like this:

    [31/Jan/2008:14:19:07 +0000] "GET / HTTP/1.1" 200 7918 ""
    ... "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20061201 Firefox/2.0.0.11 (Ubuntu-feisty)" 0/95491


    Seconds and microsends

    The utility only cares about microsends (%D) so you need to have Apache 2.

    How to use


    Here the complete guide:

    Usage: tinylogan [options] logfile

    Simple bash utility for analyse HTTP access log with enabled response time


    Options:
      --version             show program's version number and exit
      -h, --help            show this help message and exit
      -s SIZE, --size=SIZE  choose the number of record to store in every log
      -q, --keep-query      keep query strings in URLs instead of cutting them.
                            Using this an URL with different query string is treat
                            like different URLs.
      -i INCLUDE_REGEX, --include=INCLUDE_REGEX
                            a regexp expression that all URLs must match of will
                            be discarded. Can be called multiple times
      -e EXCLUDE_REGEX, --exclude=EXCLUDE_REGEX
                            a regexp expression that all URLs must not match of
                            will be discarded. Can be called multiple times
      --skip-timeperiod-start=SKIP_TIME_START
                            do not analyse after the given time
      --skip-timeperiod-end=SKIP_TIME_END
                            do not analyse before the given time

      Date filters:
        For those kind of filters you need to specify a date. You are free to
        use a specific date in the format dd/mmm/aaaa, like "24/May/2011", but
        also some keyword for relative date like "today", "yesterday",
        "tomorrow".

        --start-date=START_DATE
                            date where to start analyze and record
        --end-date=END_DATE
                            date where to end analyze and record

      Time filters:
        When a time is needed, you must enter it in the format hh:mm:ss or
        simply hh:mm, like "09:21:30" or "09:21". Those filter are used for
        skip record that are registered "too late at night" or "too early in
        the morning".



    Product's homepage

    Requirements:

    · Python

    What's New in This Release: [ read full changelog ]

    · when error happens during log analysis, report the error line number
    · fixed severe bug in the month array, that simply make this script useless for everything after August
    · use the python logging module for handle error and verbosity; this clean the output a little
    · log a warning if encounter a line that doesn't match the log format
    · added week and month date filters
    · added quantity modifiers to date filters
    · fixed documentation help
    · added the new skip-day filter
    · implemented users default profiles and added related options
    · do not continue log analysis when the --end-date is found
    · the --include option was buggy. Now using it more than once will include additional URLs to the set

      


    TAGS:

    log analyzer | HTTP access | tinylogan | log | analyzer

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM