jsonformatter is a formatter for python easily output custom json log, e.g. output LogStash needed log
jsonformatter is available on PyPI.Use pip to install:
or:
output:
output:
config file:
python code:
output:
flask_demo.py
output:
settings.py
output: