StatoolInfos is a simple project of statistics about federation, organizations and services. https://www.devinsy.fr/
Find a file
2021-12-15 17:25:52 +01:00
.settings Upgraded catgenerator lib. Add bird default logo for services. 2020-10-01 15:30:06 +02:00
lib Upgraded devinsy-strings lib. 2021-06-07 03:40:46 +02:00
resources Improved conf example file. 2021-12-15 16:24:41 +01:00
src/fr/devinsy/statoolinfos Made Javadoc review. 2021-12-15 16:25:01 +01:00
test/fr/devinsy/statoolinfos Refactored user agent bot detection feature. 2021-06-07 03:41:48 +02:00
.classpath Upgraded devinsy-strings lib. 2021-06-07 03:40:46 +02:00
.gitignore First commit. 2020-09-13 01:28:27 +02:00
.project First commit. 2020-09-13 01:28:27 +02:00
build-appjar.xml Added extension file to include in target jar. 2020-10-26 17:01:32 +01:00
build-local.xml First commit. 2020-09-13 01:28:27 +02:00
build-snapshot.xml First commit. 2020-09-13 01:28:27 +02:00
build-tagandpush.xml First commit. 2020-09-13 01:28:27 +02:00
build.num Build 0.3.0 2021-12-15 15:07:54 +01:00
build.properties Upgrade build version to 0.3. 2021-05-15 16:45:39 +02:00
build.sh Fixed Java 11 check. 2020-09-13 02:09:15 +02:00
CONCEPT.md Update CONCEPT.md 2020-09-17 04:30:49 +02:00
GENERAL.md Added DECIMAL_DEGREE definition. 2021-09-09 11:55:13 +02:00
LICENSE First commit. 2020-09-13 01:28:27 +02:00
log4j.properties Step in dev. 2020-09-19 02:37:52 +02:00
ONTOLOGY.md Update ONTOLOGY.md 2020-09-17 05:33:22 +02:00
README.md Improved README file. 2021-12-15 17:25:52 +01:00

StatoolInfos

StatoolInfos is a simple statistic tool software.

LICENSE

StatoolInfos is released under the GNU AGPL+ license. Enjoy!

Authors:

Cat Avatar Generator images

I am glad to use the beautiful artwork of David Revoy (http://www.peppercarrot.com).

Cicle-icons

I am glad to use the generous artwork of ElegantThemes.com :

Author: Christian Pierre MOMON christian.momon@devinsy.fr

License: Creative Commons CC-BY-SA last version.

Other stuff

License of other stuff:

  • csv-logo.svg, json-logo.svg, ods-icon.svg:
    • Author: Christian P. Momon
    • License: CC-BY-SA 3+.
  • other: without any specific information, default license of images is CC-BY-SA 3+.

DOCUMENTATION

Read CONCEPT.md and ONTOLOGY.md files.

Requirements

  • Java 11
  • Eclipse 4.16 (202006).

INSTALL

Unzip the package and move the statoolinfos.jar and statoolinfo.sh files in /srv/statoolinfos/bin/.

Create link:

cd /srv/statoolinfos/bin/ ; ln -s statoolinfos.sh statoolinfos

Usage

Usage:
    statoolinfos [ -h | -help | --help ]
    statoolinfos [ -v | -version | --version ]

    statoolinfos build                       <configurationfile>     build property files from conf and input
    statoolinfos clear                       <configurationfile>     remove property files from conf
    statoolinfos crawl                       <configurationfile>     crawl all file from conf and input
    statoolinfos htmlize                     <configurationfile>     generate web pages from conf
    statoolinfos probe   OPTION [<directory>|<configurationfile>]    generate metrics files from conf
           OPTION = [-full|-today|-previousday|-NN] with NN a day count
    statoolinfos uptime                      <configurationfile>     update uptime journal

    statoolinfos format                      <fileordirectory>       format property files in tiny way
    statoolinfos list ip       [-bot|-nobot] <fileordirectory>       generate ip list from log file
    statoolinfos list ua       [-bot|-nobot] <fileordirectory>       generate user agent list from log file
    statoolinfos list visitors [-bot|-nobot] <fileordirectory>       generate visitors (ip+ua) list from log file
    statoolinfos stat ip       [-bot|-nobot] <fileordirectory>       generate stats about ip from log file
    statoolinfos stat ua       [-bot|-nobot] <fileordirectory>       generate stats about user agent from log file
    statoolinfos stat visitors [-bot|-nobot] <fileordirectory>       generate stats about visitors (ip+ua) from log file
    statoolinfos tagdate                     <fileordirectory>       update the file.datetime file

Generate metrics files

Create a configuration file /srv/statoolInfos/conf/foo.bar.org.conf:

conf.probe.types=HttpAccessLog, HttpErrorLog
conf.probe.httpaccesslog.file=/var/log/apache2/foo.bar.org-access.log*
conf.probe.httperrorlog.file=/var/log/apache2/foo.bar.org-error.log*
conf.probe.target=/srv/statoolinfos/well-known/statoolinfos/foo.bar.org.metrics

Generate the metric file for the first time:

/srv/statoolinfos/bin/statoolinfos probe -full /srv/statoolinfos/conf/foo.bar.org.conf

Create a cron file to update the metric file everyday:

1 * * * * root /srv/statoolinfos/bin/probe -previousday /srv/statoolinfos/conf/foo.bar.org.conf