{"id":17196392,"url":"https://github.com/darold/squidanalyzer","last_synced_at":"2025-04-04T16:15:38.288Z","repository":{"id":2936267,"uuid":"3948155","full_name":"darold/squidanalyzer","owner":"darold","description":"Squid Analyzer parses Squid proxy access log and reports general statistics about hits, bytes, users, networks, top URLs, and top second level domains. Statistic reports are oriented toward user and bandwidth control.","archived":false,"fork":false,"pushed_at":"2025-01-02T13:21:00.000Z","size":1496,"stargazers_count":126,"open_issues_count":3,"forks_count":38,"subscribers_count":22,"default_branch":"master","last_synced_at":"2025-03-28T15:09:21.612Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://squidanalyzer.darold.net/","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":"Unmaintained","scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/darold.png","metadata":{"files":{"readme":"README","changelog":"ChangeLog","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2012-04-06T08:45:59.000Z","updated_at":"2025-03-03T06:02:35.000Z","dependencies_parsed_at":"2025-01-17T03:06:03.990Z","dependency_job_id":"8dec8b0b-2165-4c18-a79a-dda8108dc078","html_url":"https://github.com/darold/squidanalyzer","commit_stats":{"total_commits":416,"total_committers":18,"mean_commits":23.11111111111111,"dds":0.1514423076923077,"last_synced_commit":"43ba618e01e81b24816dedba3dea64bd63a68e9a"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darold%2Fsquidanalyzer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darold%2Fsquidanalyzer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darold%2Fsquidanalyzer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darold%2Fsquidanalyzer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/darold","download_url":"https://codeload.github.com/darold/squidanalyzer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247208178,"owners_count":20901570,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-15T01:53:06.067Z","updated_at":"2025-04-04T16:15:38.264Z","avatar_url":"https://github.com/darold.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"NAME\n    SquidAnalyzer - Squid access log report generation tool\n\nDESCRIPTION\n    SquidAnalyzer parse native access log format of the Squid proxy and\n    generate general statistics about hits, bytes, users, networks, top url,\n    top second level domain and denied URLs. Common and combined log format\n    are also supported. SquidGuard logs can also be parsed and ACL's\n    redirection reported into denied URLs report.\n\n    Statistic reports are oriented to user and bandwidth control, this is\n    not a pure cache statistics generator. SquidAnalyzer use flat files to\n    store data and don't need any SQL, SQL Lite or Berkeley databases.\n\n    This analyzer is incremental so it should be run in a daily cron. Take\n    care if you have rotate log enable to run it before rotation is done.\n\nREQUIREMENT\n    Nothing is required than a modern perl version 5.8 or higher. Graphics\n    are based on the Flotr2 Javascript library so they are drawn at your\n    browser side without extra installation required.\n\nCHANGES from https://github.com/darold/squidanalyzer\n    SquidAnalyzer.pm can read compressed 'stat_code.dat', so you can compress\n    previous years .dat files (e.g.: find 2023 -iname '*.dat' | xargs xz -9).\n    You can install SquidAnalyzer.pm into custom LIB directory, so you can\n    keep all files together (e.g. /opt/squidanalyzer)\n    Hungarian translation\n\nINSTALLATION\n  Generic install\n    If you want the package to be installed into the Perl distribution just\n    do the following:\n\n        perl Makefile.PL\n        make\n        make install\n\n    Follow the instruction given at the end of install. With this default\n    install everything configurable will be installed under\n    /etc/squidanalyzer. The Perl library SquidAnalyzer.pm will be installed\n    under your site_perl directory and the squid-analyzer Perl script will\n    be copied under /usr/local/bin.\n\n    The default output directory for html reports will be\n    /var/www/squidanalyzer/.\n\n    On FreeBSD, if make install is freezing and you have the following\n    messages:\n\n            FreeBSD: Registering installation in the package database\n            FreeBSD: Cannot determine short module description\n            FreeBSD: Cannot determine module description\n\n    please proceed as follow:\n\n            perl Makefile.PL INSTALLDIRS=site\n            make\n            make install\n\n    as the issue is related to an install into the default Perl vendor\n    installdirs it will then use Perl site installdirs.\n\n    Note: you may not encountered this issue any more, since v6.6\n    SquidAnalyzer use site as default installation directory.\n\n  Custom install\n    You can create your fully customized SquidAnalyzer installation by using\n    the Makefile.PL Perl script. Here is a sample:\n\n            perl Makefile.PL \\\n                    LOGFILE=/var/log/squid3/access.log \\\n                    BINDIR=/usr/bin \\\n                    CONFDIR=/etc \\\n                    HTMLDIR=/var/www/squidreport \\\n                    BASEURL=/squidreport \\\n                    MANDIR=/usr/share/man/man3 \\\n                    DOCDIR=/usr/share/doc/squidanalyzer\n\n    Or you can install everything into one directory (e.g.: /opt/squidanalyzer)\n\n            perl Makefile.PL \\\n                    LOGFILE=/var/log/squid/access.log \\\n                    BINDIR=/opt/squidanalyzer/bin \\\n                    CONFDIR=/opt/squidanalyzer/etc \\\n                    HTMLDIR=/var/www/squidreport \\\n                    BASEURL=/squidreport \\\n                    MANDIR=/opt/squidanalyzer/share/man/man3 \\\n                    DOCDIR=/opt/squidanalyzer/share/doc/squidanalyzer\n                    LIB=/opt/squidanalyzer/lib\n\n    If you want to build a distro package, there are two other options that\n    you may use. The QUIET option is to tell to Makefile.PL to not show the\n    default post install README. The DESTDIR is to create and install all\n    files in a package build base directory. For example for Fedora RPM,\n    thing may look like that:\n\n            # Make Perl and SquidAnalyzer distrib files\n            %{__perl} Makefile.PL \\\n                INSTALLDIRS=vendor \\\n                QUIET=1 \\\n                LOGFILE=/var/log/squid/access.log \\\n                BINDIR=%{_bindir} \\\n                CONFDIR=%{_sysconfdir} \\\n                BASEDIR=%{_localstatedir}/lib/%{uname} \\\n                HTMLDIR=%{webdir} \\\n                MANDIR=%{_mandir}/man3 \\\n                DOCDIR=%{_docdir}/%{uname}-%{version} \\\n                DESTDIR=%{buildroot} \u003c /dev/null\n\n    See spec file in packaging/RPM for full RPM build script.\n\n  Local install\n    You can also have a custom installation. Just copy the SquidAnalyzer.pm\n    and the squid-analyzer perl script into a directory, copy and modify the\n    configuration file and run the script from here with the -c option.\n\n    Then copy files sorttable.js, squidanalyzer.css and\n    logo-squidanalyzer.png into the output directory.\n\n  Post installation\n    1. Modify your httpd.conf to allow access to HTML output like follow:\n\n            Alias /squidreport /var/www/squidanalyzer\n            \u003cDirectory /var/www/squidanalyzer\u003e\n                Options -Indexes FollowSymLinks MultiViews\n                AllowOverride None\n                Order deny,allow\n                Deny from all\n                Allow from 127.0.0.1\n            \u003c/Directory\u003e\n\n    2. If necessary, give additional host access to SquidAnalyzer in\n    httpd.conf. Restart and ensure that httpd is running.\n\n    3. Browse to http://my.host.dom/squidreport/ to ensure that things are\n    working properly.\n\n    4. Setup a cronjob to run squid-analyzer daily or more often:\n\n            # SquidAnalyzer log reporting daily\n            0 2 * * * /usr/local/bin/squid-analyzer \u003e /dev/null 2\u003e\u00261\n\n    or run it manually. For more information, see README file.\n\n    If your squid logfiles are rotated then cron isn't going to give the\n    expected result as there exists a time between when the cron is run and\n    the logfiles are rotated. It would be better to call squid-analyzer from\n    logrotate, create file /etc/logrotate.d/squid with the following\n    content:\n\n            /var/log/squid/*.log {\n                    daily\n                    compress\n                    delaycompress\n                    rotate 5\n                    missingok\n                    nocreate\n                    sharedscripts\n                    postrotate\n                            test ! -e /var/run/squid.pid || test ! -x /usr/sbin/squid || /usr/sbin/squid -k rotate\n                            /usr/local/bin/squid-analyzer -d -l /var/log/squid/access.log.1\n                    endscript\n            }\n\n    Be sure that the paths used in this script correspond to your system.\n\n    5. Adjust the configuration\n\n    Make sure that the LogFile path is correct in your squidanalyzer.conf\n    file. For instance:\n\n            LogFile /var/log/squid/access.log\n\n    You can also use network name instead of network ip addresses by using\n    the network-aliases file. Also if you don't have authentication enable\n    and want to replace client ip addresses by some know user or computer\n    you can use the user-aliases file to do so.\n\n    See the file squidanalyzer.conf to customized your output statistics and\n    match your network and file system configuration.\n\n  Upgrade\n    Upgrade to a new release or to last development code is just like\n    installation. To install latest development code to use latest\n    ehancements process as follow:\n\n            wget https://github.com/darold/squidanalyzer/archive/master.zip\n            unzip master.zip\n            cd squidanalyzer-master/\n            perl Makefile.PL\n            make\n            sudo make install\n\n    then to apply change to current reports you have to rebuild them using:\n\n            squid-analyser --rebuild\n\n    This command will rebuild all your reports where there is still data\n    files I mean not removed by the retention limit. It can takes a very\n    long time if you have lot of historic, in this case you may want to use\n    option -b or --build_date to limit the rebuild period.\n\nUSAGE\n    SquidAnalyzer can be run manually or by cron job using the\n    squid-analyzer Perl script. Here are authorized usage:\n\n    Usage: squid-analyzer [ -c squidanalyzer.conf ] [logfile(s)]\n\n        -c | --configfile filename : path to the SquidAnalyzer configuration file.\n                                     By default: /etc/squidanalyzer/squidanalyzer.conf\n        -b | --build_date date     : set the date to be rebuilt, format: yyyy-mm-dd\n                                     or yyyy-mm or yyyy. Used with -r or --rebuild.\n        -d | --debug               : show debug information.\n        -h | --help                : show this message and exit.\n        -j | --jobs number         : number of jobs to run at same time. Default\n                                     is 1, run as single process.\n        -o | --outputdir name      : set output directory. If it does not start\n                                     with / then prefixes Output from configfile\n        -p | --preserve number     : used to set the statistic obsolescence in\n                                     number of month. Older stats will be removed.\n        -P | --pid_dir directory   : set directory where pid file will be stored.\n                                     Default /tmp/\n        -r | --rebuild             : use this option to rebuild all html and graphs\n                                     output from all data files.\n        -R | --refresh minutes     : add a html refresh tag into index.html file\n                                     with a refresh intervalle in minutes. \n        -s | --start HH:MM         : log lines before this time will not be parsed.\n        -S | --stop  HH:MM         : log lines after this time will not be parsed.\n        -t | --timezone +/-HH      : set number of hours from GMT of the timezone.\n                                     Use this to adjust date/time of SquidAnalyzer\n                                     output when it is run on a different timezone\n                                     than the squid server.\n        -v | version               : show version and exit.\n        --no-year-stat             : disable years statistics, reports will start\n                                     from month level only.\n        --no-week-stat             : disable weekly statistics.\n        --with-month-stat          : enable month stats when --no-year-stat is used.\n        --startdate YYYYMMDDHHMMSS : lines before this datetime will not be parsed.\n        --stopdate  YYYYMMDDHHMMSS : lines after this datetime will not be parsed.\n        --skip-history             : used to not take care of the history file. Log\n                                     parsing offset will start at 0 but old history\n                                     file will be preserved at end. Useful if you\n                                     want to parse and old log file.\n        --override-history         : when skip-history is used the current history\n                                     file will be overridden by the offset of the\n                                     last log file parsed.\n\n    Log files to parse can be given as command line arguments or as a comma\n    separated list of file for the LogFile configuration directive. By\n    default SquidAnalyer will use file: /var/log/squid/access.log\n\n    There is special options like --rebuild that force SquidAnalyzer to\n    rebuild all HTML reports, useful after an new feature or a bug fix. If\n    you want to limit the rebuild to a single day, a single month or year,\n    you can use the --build_date option by specifying the date part to\n    rebuild, format: yyyy-mm-dd, yyyy-mm or yyyy.\n\n    The --preserve option should be used if you want to rotate your\n    statistics and data. The value is the number of months to keep, older\n    reports and data will be removed from the filesystem. Useful to preserve\n    space, for example:\n\n            squid-analyzer -p 6 -c /etc/squidanalyzer/squidanalyzer.conf\n\n    will only preserve six month of statistics from the last run of\n    squidanalyzer.\n\n    If you have a SquidGuard log you can add it to the list of file to be\n    parsed, either in the LogFile configuration directive log list, either\n    at command line:\n\n            squid-analyzer /var/log/squid3/access.log /var/log/squid/SquidGuard.log\n\n    SquidAnalyzer will automatically detect the log format and report\n    SquidGuard ACL's redirection to the Denied Urls report.\n\nMULTIPROCESS\n    If you have huges squid access.log you will be interested by using\n    multiprocess with SquidAnalyzer. Using the -j or --jobs command line\n    option you can force SquidAnalyzer to use as many cores/cpus as wanted.\n\n            squid-analyzer -j 8 -l /var/log/squid3/huge_access.log\n\n    Here SquidAnalyzer will use 8 cpus to parse the file and compute all\n    statistics reports. It will also use much more memory at the same time.\n\nLOGFORMAT\n    SquidAnalyzer supports the following predefined log format:\n\n        logformat squid %ts.%03tu %6tr %\u003ea %Ss/%03\u003eHs %\u003cst %rm %ru %un %Sh/%\u003cA %mt\n        logformat common %\u003ea %ui %un [%tl] \"%rm %ru HTTP/%rv\" %\u003eHs %\u003cst %Ss:%Sh\n        logformat combined %\u003ea %ui %un [%tl] \"%rm %ru HTTP/%rv\" %\u003eHs %\u003cst \"%{Referer}\u003eh\" \"%{User-Agent}\u003eh\" %Ss:%Sh\n\n    The common and combined log format can have one more field to add\n    mime-type report like with the native squid log format:\n\n        logformat common %\u003ea %ui %un [%tl] \"%rm %ru HTTP/%rv\" %\u003eHs %\u003cst %Ss:%Sh %mt\n        logformat combined %\u003ea %ui %un [%tl] \"%rm %ru HTTP/%rv\" %\u003eHs %\u003cst \"%{Referer}\u003eh\" \"%{User-Agent}\u003eh\" %Ss:%Sh %mt\n\n    Those are the default format used by squid, you can switch to any of the\n    three log format by giving the name at end of the access_log directive:\n\n            access_log /var/log/squid3/access.log squid\n\n    or\n\n            access_log /var/log/squid3/access.log common\n\nCONFIGURATION\n    Unless previous version customization of SquidAnalyzer is now done by a\n    single configuration file squidanalyzer.conf.\n\n    Here follow the configuration directives used by Squid Analyzer.\n\n    Output output_directory\n        Where SquidAnalyzer should dump all HTML, data and images files. You\n        should give a path that can be read by a Web browser.\n\n    WebUrl\n        The URL of the SquidAnalyzer javascript, HTML and images files.\n        Default: /squidreport\n\n    CustomHeader\n        This directive allow you to replace the SquidAnalyze logo by your\n        custom logo. The default value is defined as follow:\n\n                \u003ca href=\"$self-\u003e{WebUrl}\"\u003e\n                \u003cimg src=\"$self-\u003e{WebUrl}images/logo-squidanalyzer.png\" title=\"SquidAnalyzer $VERSION\" border=\"0\"\u003e\n                \u003c/a\u003e SquidAnalyzer\n\n        Feel free to define your own header but take care to not break\n        current design. For example:\n\n                CustomHeader   \u003ca href=\"http://my.isp.dom/\"\u003e\u003cimg src=\"http://my.isp.dom/logo.png\" title=\"My ISP link\" border=\"0\" width=\"100\" height=\"110\"\u003e\u003c/a\u003e My ISP Company\n                                                                                                   126,1         Bas\n\n    LogFile squid_access_log_file\n        Set the path to the Squid log file. This can be a comma separated\n        list of files to process several files at the same time. If the\n        files comes from different Squid servers, they will be merged in a\n        single reports. You can also add to the list a SquidGuard log file,\n        SquidAnalyzer will automatically detect the format.\n\n    UseClientDNSName 0\n        If you want to use DNS name instead of client Ip address as username\n        enable this directive. When you don't have authentication, the\n        username is set to the client ip address, this allow you to use the\n        DNS name instead. Note that you must have a working DNS resolution\n        and that it can really slow down the generation of reports.\n\n    DNSLookupTimeout 100\n        If you have enabled UseClientDNSName and have lot of ip addresses\n        that do not resolve you may want to increase the DNS lookup timeout.\n        By default SquidAnalyzer will stop to lookup a DNS name after 100\n        ms. The value must be set in millisecond.\n\n    StoreUserIp 0\n        Store and show user different ip addresses used along the time in\n        user statistics. Default: no extra storage\n\n    NetworkAlias network-aliases_file\n        Set path to the file containing network alias name. Network are show\n        as Ip addresses so if you want to display name instead create a file\n        with this format:\n\n            LOCATION_NAME IP_NETWORK_ADDRESS\n\n        Separator must be a tabulation this allow the use of space character\n        in the network alias name.\n\n        You can use regex to match and group some network addresses. See\n        network-aliases file for examples.\n\n    UserAlias user-aliases_file\n        Set path to the file containing user alias name. If you don't have\n        auth_proxy enable users are seen as ip addresses. So if you want to\n        show username or computer name instead, create a file with this\n        format:\n\n            FULL_USERNAME IP_ADDRESS\n\n        When 'UseClientDNSName' is enabled you can replace ip address by a\n        DNS name.\n\n        If you have auth_proxy enable but want to replace login name by full\n        user name for example, create a file with this format:\n\n            FULL_USERNAME LOGIN_NAME\n\n        Separator for both must be a tabulation this allow the use of space\n        character in the user alias name.\n\n        You can use regex to match and group some user login or ip\n        addresses. See user-aliases file for examples.\n\n    UrlAlias url-aliases_file\n        Set path to the file containing url alias name. You may want to\n        group URL under a single alias to agregate statistics, in this case\n        create a file with this format :\n\n                URL_ALIAS     URL_REGEXP1,URL_REGEXP2,...\n\n        Separator must be a tabulation. See network-aliases file for\n        examples.\n\n    AnonymizeLogin 0\n        Set this to 1 if you want to anonymize all user login. The username\n        will be replaced by an unique id that change at each squid-analyzer\n        run. Default disable.\n\n    OrderNetwork bytes|hits|duration\n    OrderUser bytes|hits|duration\n    OrderUrl bytes|hits|duration\n        Used to set how SquidAnalyzer sort Network, User and User detailed\n        Urls reports screen. Value can be: bytes, hits or duration. Default\n        is bytes. Note that OrderUrl is limited to User detailed Urls\n        reports and does not apply to Top Url and Top domain report where\n        there is three reports each already ordered.\n\n    OrderMime bytes|hits\n        Used to set how SquidAnalyzer sort Mime types report screen Value\n        can be: bytes or hits. Default is bytes.\n\n    UrlReport 0|1\n        Should SquidAnalyzer display user url details. This will show all\n        URL read by user. Take care to have enough space disk for large\n        user. Default is 0, no url detail report.\n\n    UserReport 0|1\n        Should SquidAnalyzer display user details. This will show statistics\n        about user. Default is 1, show user detail report. Disable it to be\n        able to remove any user related reports, statistics about URL and\n        domains will remain.\n\n    UrlHitsOnly 0|1\n        Enable this directive if you don't want the tree Top URL and Domain\n        tables. You will just have the table of Url/Domain ordered per hits\n        then you can still sort the URL/Domain order by clicking on each\n        column. This is useful when you have set a high value to TopNumber.\n\n    QuietMode 0|1\n        Run in quiet mode for batch processing or print debug information.\n        Default is 0, verbose mode.\n\n    CostPrice price/Mb\n        Used to set a cost of the bandwidth per Mb. If you want to generate\n        invoice per Mb for bandwidth traffic this can help you. Value 0 mean\n        no cost, this is the default value, the \"Cost\" column is not\n        displayed\n\n    Currency currency_abbreviation\n        Used to set the currency of the bandwidth cost. Preferably the html\n        special character. Default is \u0026euro;\n\n    TopNumber number\n        Used to set the number of top url and second level domain to show.\n        Default is top 100.\n\n    TopDenied number\n        Used to set the number of top denied url to show. Default is top\n        100.\n\n    TopStorage number\n        Top number of url to preserve on each data file sorted by OrderUrl.\n        On huge access log it will improve a lot the performances but you\n        will have less precision in the top url. Default to 0, all url will\n        be stored.\n\n    TopUrlUser Use this directive to show the top N users that look at an\n    URL or a domain. Set it to 0 to disable this feature. Default is top 10.\n    Exclude exclusion_file\n        Used to set client ip addresses, network addresses, auth login or\n        uri to exclude from report.\n\n        You can define one by line exclusion by specifying first the type of\n        the exclusion (USER, CLIENT or URI) and a space separated list of\n        valid regex.\n\n        You can also use the NETWORK type to define network address with\n        netmask using the CIDR notation: xxx.xxx.xxx.xxx/n\n\n        See example below:\n\n                NETWORK        192.168.1.0/24 10.10.0.0/16\n                CLIENT         192\\.168\\.1\\.2 \n                CLIENT         10\\.169\\.1\\.\\d+ 192\\.168\\.10\\..*\n                USER           myloginstr\n                USER           guestlogin\\d+ guestdemo\n                URI            http:\\/\\/myinternetdomain.dom.*\n                URI            .*\\.webmail\\.com\\/.*\\/login\\.php.*\n\n        you can have multiple line of the same exclusion type.\n\n    Include inclusion_file\n        Used to set client ip addresses, network addresses or auth login to\n        include into the report. All others will not be included. It works\n        as the opposite of the Include parameter.\n\n        You can define one by line inclusion by specifying first the type of\n        the inclusion (USER or CLIENT) and a space separated list of valid\n        regex.\n\n        You can also use the NETWORK type to define network address with\n        netmask using the CIDR notation: xxx.xxx.xxx.xxx/n\n\n        See example below:\n\n                NETWORK        192.168.1.0/24 10.10.0.0/16\n                CLIENT         192\\.168\\.1\\.2 \n                CLIENT         10\\.169\\.1\\.\\d+ 192\\.168\\.10\\..*\n                USER           myloginstr\n                USER           guestlogin\\d+ guestdemo\n                URI            http:\\/\\/myinternetdomain.dom.*\n                URI            .*\\.webmail\\.com\\/.*\\/login\\.php.*\n\n        you can have multiple line of the same inclusion type.\n\n    ExcludedMethods\n        This directive allow exclusion of some unwanted methods in report\n        statistics like HEAD, POST, CONNECT, etc. Can be a comma separated\n        list of methods.\n\n    ExcludedMimes\n        This directive allow exclusion of some unwanted mimetypes in report\n        statistics like text/html, text/plain, or more generally text/*,\n        etc. Can be a comma separated list of perl regular expression. Ex:\n\n                ExcludedMimes   text/.*,image/.*\n\n    Lang\n        Used to set the translation file to be used. Value must be set to a\n        file containing all string translated. See the lang directory for\n        translation files. Default is defined internally in English.\n\n    ExcludedCodes\n        This directive allow exclusion of some unwanted codes in report\n        statistics like TCP_DENIED/403 which are generated when a user\n        accesses a page the first time without authentication. Can be a\n        comma separated list of methods. Default is none, all codes will be\n        parsed.\n\n    DateFormat\n        Date format used to display date (year = %y, month = %m and day =\n        %d) You can also use %M to replace month by its 3 letters\n        abbreviation. Default: %y-%m-%d\n\n    SiblingHit\n        Adds peer cache hit (CD_SIBLING_HIT) to be taken has local cache\n        hit. Enabled by default, you must disabled it if you don't want to\n        report peer cache hit onto your stats.\n\n    TransfertUnit\n        Allow one to change the default unit used to display transfert size.\n        Default is BYTES, other possible values are KB, MB and GB.\n\n    MinPie\n        Minimum percentage of data in pie's graphs to not be placed in the\n        others item. Lower values will be summarized into the others item.\n\n    Locale\n        Set this to your locale to display generated date in your language.\n        Default is to use the current locale of the system. If you want date\n        in German for example, set it to de_DE.\n\n                Rapport genere le mardi 11 decembre 2012, 15:13:09 (UTC+0100).\n\n        with a Locale set to fr_FR.\n\n    MaxFormatError\n        When SquidAnalyzer find a corrupted line in his data file, it exit\n        immediately. You can force him to wait for a certain amount of\n        errors before exiting. Of course you might want to remove the\n        corrupted line before the next run. This can be useful if you have\n        special characters in some fields like mime type.\n\n    TimeZone\n        # Adjust timezone to use when SquidAnalyzer reports different time\n        than graphs # in your browser. The value must follow format: +/-HH.\n        Default is to use local # time. This must be considered as real\n        timezone but the number of hours to add # or remove from log\n        timestamp. The value can be set to: auto, in this case #\n        SquidAnalyzer will autodetect the timezone and apply it.\n\n        Adjust timezone to use when SquidAnalyzer reports different time\n        than graphs in your browser. The value must follow format: +/-HH.\n        Default is to use local time. This must be considered as real\n        timezone but the number of hours to add remove from log timestamp to\n        adjust graphs times. For example:\n\n                TimeZone       +01\n\n        will append one hour to all timestamp.\n\n        Additionaly TimeZone can be set to auto:\n\n                TimeZone        auto\n\n        to let SquidAnalyzer auto detect the timezone to use.\n\n    UseUrlPort\n        Enable this directive if you want to include port number into Url\n        statistics. Default is to remove the port information from the Url.\n\n    UpdateAlias\n        Enable this directive if you want to apply immediately the changes\n        made in aliases files to avoid duplicates. You still have to use\n        --rebuild to recreate previous reports with new aliases. Enabling\n        this will imply a lost of performances with huges log files.\n\n    TimeStart and TimeStop\n        The two following configuration directive allow you to specify a\n        start and stop time. Log line out of this time range will not be\n        parsed. The format of the value is HH:MM\n\n    RefreshTime\n        Insert a html Refresh tag into all index.html files. The value is\n        the refresh intervalle in minutes. Default to 5 minutes. Can be\n        overridden at command line with option -R | --refresh\n\nSUPPORT\n  Release announcement\n    Please follow us on twitter to receive release announcement and latest\n    news : https://twitter.com/SquidAnalyzer\n\n  Bugs and Feature requests\n    Please report any bugs, patches, discussion and feature request using\n    tools on the git repository at https://github.com/darold/squidanalyzer.\n\n  How to contribute ?\n    Any contribution to build a better tool is welcome, you just have to\n    send me your ideas, features request or patches using the tools on the\n    git repository at https://github.com/darold/squidanalyzer\n\n    You can also support the developer by donate some contribution by\n    clicking on the \"Donate\" button on the SquidAnalyzer web site at\n    http://squidanalyzer.darold.net/\n\nAUTHOR\n    Gilles DAROLD \u003cgilles@darold.net\u003e\n\nCOPYRIGHT\n    Copyright (c) 2001-2019 Gilles DAROLD\n\n    This package is free software and published under the GPL v3 or above\n    license.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarold%2Fsquidanalyzer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarold%2Fsquidanalyzer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarold%2Fsquidanalyzer/lists"}