Projects tagged ‘log’ and ‘python’


[36 total ]

12 Users
   

Bcfg2 helps system administrators produce a consistent, reproducible, and verifiable description of their environment, and offers visualization and reporting tools to aid in day-to-day administrative tasks.
Created over 2 years ago.

1 Users

Hour Logger v0.2This is opensource python-gtk program that is useful for managing hours spent on job. It is also useful for managing earned money (not fully implemented). The program saves those hour ... [More] logs as a XML file with the '.hlr' extension. Any help, suggestions or feature requests on the application would be appreciated. Program is free to use and modify. However if you do any modification on it please inform me. Doors are open to everyone that wants to contribute to the project in any way. Also, feel free to browse the source code and leave comments on it. Dependenciespython (use v2.5) pygtk (min. v2.0) pyxml (recommended latest version) Screen shot: How to run:If you downloaded source archive hour-logger-X.X-X.tar.gz 1. Unpack the downloaded archive 2. Run this command as root under the program directory to install: python setup.py install 3. Run program: hour-logger If you downloaded package hour-logger-X.X-X.noarch.rpm 1. run this command as root from terminal: rpm -ivh hour-logger-X.X-X.noarch.rpm 2. Run program: hour-logger Note: X's presents version numbers Latest development versionTo download latest code use svn command: svn checkout http://hour-logger.googlecode.com/svn/trunk/ hour-logger-read-only The code will be downloaded to directory named hour-logger under your current working directory. [Less]
Created 12 months ago.

1 Users
   

latua is a lightweight reusable code library. latua library contains modules and wrappers for logging, i18n initialization and file or system operations. Furthermore it contains a simple full text index engine based on sqlite.
Created about 1 year ago.

1 Users
 

Performance Analysis Tool for Web Server Logs. Produces metrics and graphs from web logs (W3C Extended Log File Format). This is useful during performance testing and analysis. Output is created ... [More] in XHTML/CSS with embedded PNG images. PerfLog is written in Python and uses Matplotlib for graphs and plotting [Less]
Created over 3 years ago.

1 Users
   

This program summarizes the contents of a log file written by syslog, by displaying each unique (except for the time) line once, and also the number of times such a line occurs in the input. The lines ... [More] are displayed in the order they occur in the input. [Less]
Created about 1 year ago.

0 Users

Scalp! is a log analyzer for the Apache web server that aims to look for security problems. The main idea is to look through huge log files and extract the possible attacks that have been sent through ... [More] HTTP/GET (By default, Apache does not log the HTTP/POST variable). How it worksScalp is basically using the regular expression from the PHP-IDS project and matches the lines from the Apache access log file. These regexp has been chosen because of their quality and the top activity of the team maintaining that project. You will then need this file https://svn.php-ids.org/svn/trunk/lib/IDS/default_filter.xml in order to run Scalp. Scalp started as a simple python script which is still maintained, but I plan to focus my effort on the binary version (written in C++) for efficiency when it comes to scalp huge log files. UsageScalp has a couple of options that may be useful in order to save time when scalping a huge log file or in order to perform a full examination; the default options are almost okay for log files of hundreds of MB. Current options: exhaustive: Won't stop at the first pattern matched, but will test all the patterns tough: Will decode a part of potential attacks (this is done to use better the regexp from PHP-IDS in order to decrease the false-negative rate) period: Specify a time-frame to look at, all the rest will be ignored sample: Does a random sampling of the log lines in order to look at a certain percentage, this is useful when the user doesn't want to do a full scan of all the log, but just ping it to see if there is some problem... attack: Specify what classes of vulnerabilities the tool will look at (eg, look only for XSS, SQL Injection, etc.) Example of utilization: ./scalp-0.4.py -l /var/log/httpd_log -f ./default_filter.xml -o ./scalp-output --htmlHelprgaucher@plop:~/work/scalp/branches$ ./scalp-0.4.py --help Scalp the apache log! by Romain Gaucher - http://rgaucher.info usage: ./scalp.py [--log|-l log_file] [--filters|-f filter_file] [--period time-frame] [OPTIONS] [--attack a1,a2,..,an] [--sample|-s 4.2] --log |-l: the apache log file './access_log' by default --filters |-f: the filter file './default_filter.xml' by default --exhaustive|-e: will report all type of attacks detected and not stop at the first found --tough |-u: try to decode the potential attack vectors (may increase the examination time) --period |-p: the period must be specified in the same format as in the Apache logs using * as wild-card ex: 04/Apr/2008:15:45;*/Mai/2008 if not specified at the end, the max or min are taken --html |-h: generate an HTML output --xml |-x: generate an XML output --text |-t: generate a simple text output (default) --except |-c: generate a file that contains the non examined logs due to the main regular expression; ill-formed Apache log etc. --attack |-a: specify the list of attacks to look for list: xss, sqli, csrf, dos, dt, spam, id, ref, lfi the list of attacks should not contains spaces and comma separated ex: xss,sqli,lfi,ref --output |-o: specifying the output directory; by default, scalp will try to write in the same directory as the log file --sample |-s: use a random sample of the lines, the number (float in [0,100]) is the percentage, ex: --sample 0.1 for 1/1000I guess it's enough! FeaturesSince the main engine is done, I am currently focusing on the speed; for now, I am around 250000 lines of log in 170 seconds (which I consider not good, but okay compared to the Python's version I did before starting this one in C++) if I don't select an exhaustive list of the attacks (which means, it will not perform all the attack checking but stop at the first found -- based on criteria which is IMPACT > TYPE). To increase the speed, I am looking to use a multi-thread engine in order to take advantage of the muti-core processors. Beside the speed of this software, a couple of points are important: output in many formats (TEXT, XML, HTML) options in order to let the user do a pre-selection (mainly with a range of dates) configuration of the format of the Apache log may come later... [Less]
Created about 1 year ago.

0 Users

apache log
Created about 1 month ago.

0 Users

For now is a system to access logs from e-mail
Created 11 months ago.

0 Users

About acplanAcplan is a tool designed to analyse apache access logs and predict near future server load (bandwidth & request per second). It will be implemented in Python and will use sqlite for storing results.
Created 7 months ago.

0 Users

A python wrapper for the REST interface to RunningAHEAD running log.
Created 12 months ago.