All Projects → kiritbasu → Fake Apache Log Generator

kiritbasu / Fake Apache Log Generator

Licence: apache-2.0
Generate a boatload of Fake Apache Log files very quickly

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Fake Apache Log Generator

geostat
GeoStat, Python script for parsing Nginx and Apache logs files and getting GEO data from incoming IP's.
Stars: ✭ 50 (-75.85%)
Mutual labels:  logs, apache
minifaker
A lightweight alternative to faker.js
Stars: ✭ 64 (-69.08%)
Mutual labels:  fake, faker
Mockaco
🐵 HTTP mock server, useful to stub services and simulate dynamic API responses, leveraging ASP.NET Core features, built-in fake data generation and pure C# scripting
Stars: ✭ 213 (+2.9%)
Mutual labels:  fake, faker
mkjson
A commandline tool to generate static or random JSON records
Stars: ✭ 16 (-92.27%)
Mutual labels:  fake, faker
Flog
🎩 A fake log generator for common log formats
Stars: ✭ 531 (+156.52%)
Mutual labels:  faker, apache
faker
Generate massive amounts of fake data in the browser and node.js
Stars: ✭ 6,940 (+3252.66%)
Mutual labels:  fake, faker
faker-buzzword-job-titles
👔 A job title generator for faker based on Buzzwords.
Stars: ✭ 14 (-93.24%)
Mutual labels:  fake, faker
Faker.NET.Portable
C# port of the Ruby Faker gem (http://faker.rubyforge.org/)
Stars: ✭ 22 (-89.37%)
Mutual labels:  fake, faker
Bogus
📇 A simple and sane fake data generator for C#, F#, and VB.NET. Based on and ported from the famed faker.js.
Stars: ✭ 5,083 (+2355.56%)
Mutual labels:  fake, faker
Mimesis
Mimesis is a high-performance fake data generator for Python, which provides data for a variety of purposes in a variety of languages.
Stars: ✭ 3,439 (+1561.35%)
Mutual labels:  fake, faker
FakerDotNet
A .NET port of the Ruby faker gem
Stars: ✭ 15 (-92.75%)
Mutual labels:  fake, faker
Fakerator
Random fake data generator with localization for Javascript in Node.js and browser
Stars: ✭ 91 (-56.04%)
Mutual labels:  fake, faker
Joal
An open source command line RatioMaster with an optional WebUI.
Stars: ✭ 213 (+2.9%)
Mutual labels:  fake, faker
random
Random data generator AKA faker
Stars: ✭ 14 (-93.24%)
Mutual labels:  fake, faker
lunaticlog
Fake HTTP log generator module, test if your monitor system can survive under the log spikes.
Stars: ✭ 35 (-83.09%)
Mutual labels:  apache, fake
Faker.js
generate massive amounts of realistic fake data in Node.js and the browser
Stars: ✭ 34,329 (+16484.06%)
Mutual labels:  fake, faker
Faker
A library for Dart that generates fake data.
Stars: ✭ 103 (-50.24%)
Mutual labels:  fake, faker
Unity3d Logcat Extension
Logcat (android logging) extension for Unity3D
Stars: ✭ 179 (-13.53%)
Mutual labels:  logs
Couchdb Docker
Semi-official Apache CouchDB Docker images
Stars: ✭ 194 (-6.28%)
Mutual labels:  apache
Fake2db
Generate fake but valid data filled databases for test purposes using most popular patterns(AFAIK). Current support is sqlite, mysql, postgresql, mongodb, redis, couchdb.
Stars: ✭ 2,113 (+920.77%)
Mutual labels:  faker

Fake Apache Log Generator

This script generates a boatload of fake apache logs very quickly. Its useful for generating fake workloads for data ingest and/or analytics applications.

It can write log lines to console, to log files or directly to gzip files.

It utilizes the excellent Faker library to generate realistic ip's, URI's etc.


Basic Usage

Generate a single log line to STDOUT

$ python apache-fake-log-gen.py  

Generate 100 log lines into a .log file

$ python apache-fake-log-gen.py -n 100 -o LOG 

Generate 100 log lines into a .gz file at intervals of 10 seconds

$ python apache-fake-log-gen.py -n 100 -o GZ -s 10

Infinite log file generation (useful for testing File Tail Readers)

$ python apache-fake-log-gen.py -n 0 -o LOG 

Prefix the output filename

$ python apache-fake-log-gen.py -n 100 -o LOG -p WEB1

Detailed help

$ python apache-fake-log-gen.py -h
usage: apache-fake-log-gen.py [-h] [--output {LOG,GZ,CONSOLE}]
                              [--num NUM_LINES] [--prefix FILE_PREFIX]
                              [--sleep SLEEP]

Fake Apache Log Generator

optional arguments:
  -h, --help            show this help message and exit
  --output {LOG,GZ,CONSOLE}, -o {LOG,GZ,CONSOLE}
                        Write to a Log file, a gzip file or to STDOUT
  --num NUM_LINES, -n NUM_LINES
                        Number of lines to generate (0 for infinite)
  --prefix FILE_PREFIX, -p FILE_PREFIX
                        Prefix the output file name
  --sleep SLEEP, -s SLEEP
                        Sleep this long between lines (in seconds)

Requirements

  • Python 2.7
  • pip install -r requirements.txt

License

This script is released under the Apache version 2 license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].