Django Logging Configuration Example

Ship logs from Django applications to Logit.io

To send logs to Logit.io via Django you will need the python-logstash-async (version 2.5.0) Python plugin.

Install Integration

Please click on the Install Integration button to configure your stack for this source.

Installing the Python logging handler

Execute the following command using pip (the official Python package installer) to install the logging handler. This sends Python logging events to Logstash, which is part of your Logit.io log management stack:

pip install python-logstash-async

If you receive errors suggesting pip is an unknown command, navigate to its installed location with your chosen terminal program and try again (or add pip to your environmental variables if using Windows).

Sending Logs

⚠️

No Beats/Beats-SSL input available! Your stack is missing the required input for this data source.

Talk to support to add the input

Launch Logs to View Data

Launch Logs

More Help

If you need any further assistance with migrating your Django application logs (opens in a new tab) to Logit.io we're here to help you get started. Just get in contact with our support team via live chat & we'll be happy to assist.