![Maven Central Adds Sigstore Signature Validation](https://cdn.sanity.io/images/cgdhsj6q/production/7da3bc8a946cfb5df15d7fcf49767faedc72b483-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
= Plog
Ruby on Rails production log statistics generator.
by Kazuyoshi Tlacaelel.
$ plog my_directory_with_production_logs/
$ ls plog/
objects statistics.txt
== Copyright
Copyright (c) 2009 Kazuyoshi Tlacaelel. See LICENSE for details.
== Comming soon!
comming soon to a terminal near you!
May be... but don't expect any of these to become a reality I love programming and tons of ideas flow in my head with posibilities but I do not have the time! :(
Different export drivers? (should be another plugin)
cli options abstracted into classes so they can be aggregated with ease (this might be cool)
google charts integration (is too much for this api) (may be as a different plugin)
== Dependancies:
== Features:
Compiles statistics in a easy to read manner
Hits Time Avg-Time DbTime Avg-DB View Avg-View Url
93 18057 0.194 5775 0.062 10437 0.112 /users/[0-9]
12 277 0.023 193 0.016 0 0 /user_themes/update
1 290 0.29 107 0.107 175 0.175 /posts
3 99 0.033 57 0.019 0 0 /comments
82 11922 0.145 5969 0.072 4979 0.06 /user/[0-9]/comments
1868 1301006 0.696 623246 0.333 491474 0.263 /user/[0-9]/posts?
1 72 0.072 39 0.039 0 0 /confirm_destroy_account/[0-9]?
797 971882 1.219 414829 0.52 423130 0.53 /user/[0-9]/articles/friends?
122 20830 0.17 7081 0.058 10291 0.084 /user/[0-9]/topics?
== Improvized twicks:
You can improvize some quick sorting using the command line like:
cat plog/statistics.txt | head -n1 > some_file.txt
cat plog/statistics.txt | sort -nr >> some_file.txt
This will create a new file with sorted results by hits for you!
Hits Time Avg-Time DbTime Avg-DB View Avg-View Url
1868 1301006 0.696 623246 0.333 491474 0.263 /user/[0-9]/posts?
797 971882 1.219 414829 0.52 423130 0.53 /user/[0-9]/articles/friends?
122 20830 0.17 7081 0.058 10291 0.084 /user/[0-9]/topics?
93 18057 0.194 5775 0.062 10437 0.112 /users/[0-9]
82 11922 0.145 5969 0.072 4979 0.06 /user/[0-9]/comments
12 277 0.023 193 0.016 0 0 /user_themes/update
3 99 0.033 57 0.019 0 0 /comments
1 72 0.072 39 0.039 0 0 /confirm_destroy_account/[0-9]?
1 290 0.29 107 0.107 175 0.175 /posts
== Installation
$ gem sources -a http://gems.github.com
$ gem install ktlacaelel-plog
== Known bugs: none, so far..
== License: MIT. See the "LICENSE" file for details.
== Participate
== Output:
All output is packed in a plog directory, from wherever you run the "plog" executable.
Inside this directory you'll find a directory called objects. wich contains many small files called "object-files" this files contain all the parsed statistics of you log files.
The information is scattered and can be reused for future compilations meaning that new compilations data will merge with the existing one.
all data in these "object-files" is read and summarized into a statistics.txt file found inside of the plog directory.
== Tests:
== Usage:
The "plog" ( production log ) executable receives one option. This must be a directory containing one or more production logs. Only logs in the first level will be parsed. Recursive reading is not allowed
$ plog directory_with_logs/
== Works on:
OSX Darwin utopia.local 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386
UBUNTU Linux utopia.local 2.6.28-11-server #42-Ubuntu SMP Fri Apr 17 02:45:36 UTC 2009 x86_64 GNU/Linux
OSX ruby 1.8.6 (2008-08-11 patchlevel 287) [universal-darwin9.0]
UBUNTU ruby 1.8.7 (2009-06-12 patchlevel 174) [x86_64-linux]
rubygems 1.3.4
rubygems 1.3.3
== The end.
FAQs
Unknown package
We found that ktlacaelel-plog demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.