Simple generator used to push fake HTTP traffic logs into elasticsearch. It uses the node.js client.
This version of makelogs is designed to work with the latest builds from elasticsearch master, and is not compatible with previous versions.
Events are pushed into
logstash-YYYY.MM.DD formatted indices (configurable using
--indexPrefix), using the bulk API, and are easily consumed by Kibana.
Documents look like this:
npm install -g makelogs
makelogs --help for usage info:
$ ./bin/makelogs --help A utility to generate sample log data. Usage: node ./bin/makelogs@beta [options] Options: ...
The tool is, admittedly, not super configurable. Just tell it how many events you want, how many days to generate data for, and it will cruise.
Do not use this on any sort of production elasticsearch installation.
The event stream can be a tad unforgiving, and could cause some damage to an elasticsearch cluster under load. It is designed for debugging locally.