Very easy to use Logstash logging handler
Very easy to use Logstash logging handler.
Install via pip:
pip install logstash-easy
Just write one line of code and enjoy:
By default logging messages will be sent to localhost:5000 but you can set environment variables LOGSTASH_HOST, LOGSTASH_PORT and LOGSTASH_TAG for tagging your application. If you define LOGSTASH_APP_NAME variable then app_name field will be added to all logging messages (it can be used for creating Elasticsearch indices per application).
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.