Jinja2 File Generator
Project description
feeder 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
Documentation
Installation
pip install feeder
# or, for dev:
pip install https://github.com/nir0s/feeder/archive/develop.tar.gz
Usage Examples
see feeder config and advanced config to configure your transports and formatters.
# this will assume config.py in the cwd and assume default for each option
mouth feed
# or.. you can specify whatever you want in the cli..
mouth feed -c /my/config/file/path.py -t AMQP -f Json -g 0.001 -m 100000000
mouth feed -t UDP -f Custom -g 0.00001 -m 102831028
# you can also send in batches
mouth feed -t UDP -f Custom -g 0.01 -m 102831028 -b 1000
# and even use some common formatters like apache's..
mouth feed -t Stream -f ApacheError
# print fake data types that you can use in the config...
mouth list fake
# print a list of available transports
mouth list transports
# print a list of available formatters
mouth list formatters
Additional Information
Vagrant
A vagrantfile is provided: It will load a machine and install feeder 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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
jingen-0.0.1.tar.gz
(5.6 kB
view details)
File details
Details for the file jingen-0.0.1.tar.gz
.
File metadata
- Download URL: jingen-0.0.1.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf1f053db5b96728ef894c6ee01a6704fed8579f8476d820842240a6531e76b1 |
|
MD5 | 10d9341c99429b990f3c9f36d06cd336 |
|
BLAKE2b-256 | 367f5c1339044abd1a72985244a62274e06fcf1765c69c138067c9af85d8b91e |