Skip to content

Conversation

@guipal
Copy link

@guipal guipal commented Nov 19, 2025

Description

Currently, logs are being sent tothe console using StreamLogger. We would like to send the logs to our ELK stack so we can better investigate on them. To configure it for Django apps there is this answer from elk support. Nevertheless, after following the proposal we got the following exception starting up the application
ModuleNotFoundError: No module named ‘logstash’

Resolution

Add python-logstash library to the requirements when we build the image.

@valentijnscholten
Copy link
Member

Can you not just send the docker logs to logstash instead?

Copy link
Contributor

@Maffooch Maffooch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would prefer to keep deployment specific details out of the upstream images. Can you please convert this to a documentation PR instead? Something along the lines of how LDAP support is documented: https://docs.defectdojo.com/en/open_source/ldap-authentication/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants