# celstash
Celery logging to logstash and sturctured log (JSON) file
Please submit bugs [here](https://github.com/CyberInt/celstash/issues).
# Usage
import celstash
import logging
logger = celstash.new_logger('worker1', logstash_host='example.com')
logger.setLevel(logging.INFO)
logger.info('Money is the root of all evil, and man needs roots.')
# logstash setup
input {
udp {
codec => json
}
}
output {
elasticsearch {
host => localhost # Change to your host
}
}
# License
MIT, see [LICENSE.txt](LICENSE.txt)
Celery logging to logstash and sturctured log (JSON) file
Please submit bugs [here](https://github.com/CyberInt/celstash/issues).
# Usage
import celstash
import logging
logger = celstash.new_logger('worker1', logstash_host='example.com')
logger.setLevel(logging.INFO)
logger.info('Money is the root of all evil, and man needs roots.')
# logstash setup
input {
udp {
codec => json
}
}
output {
elasticsearch {
host => localhost # Change to your host
}
}
# License
MIT, see [LICENSE.txt](LICENSE.txt)
Release files for celstash 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| celstash-0.1.0.tar.gz | 4.2 kB | Details |
Release files / celstash-0.1.0.tar.gz
| Download URL | celstash-0.1.0.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e8b197f8c1faaf33ac806c22b80fb7048207fd6143c86814e5559062b5396938
|
|
BLAKE2b-256 checksum How to use checksums |
ae56b9a77a93f5557ee28d6f7c10375a3347713ccf13d98ba70e8fbaa844926b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |