skip to navigation
skip to content

Not Logged In

pylog 0.1.8

Python logs and events Generator

Latest Version: 0.2.0

pylog generates events/logs using a specified formatter and sends them using the specified transport. It can also generate fake data using fake-factory.

Quick Start

Quick Start

Documentation

pylog Documentation

Installation

pip install pylog
# or, for dev:
pip install https://github.com/nir0s/pylog/archive/develop.tar.gz

Usage Examples

see pylog config and advanced config to configure your transports and formatters.

# this will assume config.py in the cwd and assume default for each option
pylog gen
# or.. you can specify whatever you want in the cli..
pylog gen -c /my/config/file/path.py -t AmqpTransport -f JsonFormatter -g 0.001 -m 100000000
pylog gen -t UDPTransport -f CustomFormatter -g 0.00001 -m 102831028
# you can also send in batches
pylog gen -t UDPTransport -f CustomFormatter -g 0.00001 -m 102831028 -b 1000
# and even use some common formatters like apache's..
pylog gen -t StreamTransport -f ApacheErrorFormatter
# see fake data types that you can use in the config...
pylog list fake

Additional Information

Vagrant

A vagrantfile is provided: It will load a machine and install pylog on it in a virtualenv so that you can experiment with it. In the future, another machine will be provided with rabbitmq, logstash, elasticsearch and kibana so that you can experiment with different types of formats and transports.

 
File Type Py Version Uploaded on Size
pylog-0.1.8.tar.gz (md5) Source 2014-07-10 12KB
  • Downloads (All Versions):
  • 1 downloads in the last day
  • 147 downloads in the last week
  • 310 downloads in the last month