Skip to main content

Python logs and events Generator

Project description

Build Status

Gitter chat

PyPI

PypI

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 AMQP -f Json -g 0.001 -m 100000000
pylog gen -t UDP -f Custom -g 0.00001 -m 102831028
# you can also send in batches
pylog gen -t UDP -f Custom -g 0.01 -m 102831028 -b 1000
# and even use some common formatters like apache's..
pylog gen -t Stream -f ApacheError
# print fake data types that you can use in the config...
pylog list fake
# print a list of available transports
pylog list transports
# print a list of available formatters
pylog list formatters

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.

Project details


Release history Release notifications

This version
History Node

0.2.0

History Node

0.1.9

History Node

0.1.8

History Node

0.1.7

History Node

0.1.6

History Node

0.1.5

History Node

0.1.4

History Node

0.1.3

History Node

0.1.1

History Node

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pylog-0.2.0.tar.gz (12.9 kB) Copy SHA256 hash SHA256 Source None Jul 22, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page