Graylog: Handling the error "Unable to write audit log entry"

This documentation is part of the Getting started guide. You can view the complete guide here: How to get started with Graylog.

👋 Welcome to Stackhero documentation

Stackhero offers a fully managed Graylog cloud solution designed for speed and simplicity. You can:

  • Count on an unlimited, dedicated SMTP email server included with your service.
  • Apply updates easily with a single click, with no manual intervention required.
  • Use a custom domain name secured by HTTPS (for example, https://logs.your-company.com), providing your team with secure, direct access.
  • Benefit from strong performance and security on a private, dedicated infrastructure with no shared resources or noisy neighbours.

Focus on your data, not your tools: you can get started with Stackhero's Graylog cloud hosting solution in just a few minutes.

If you see an error such as:

Unable to write audit log entry because there is no valid license

or

Not running cleanup for auditlog entries in MongoDB because there is no valid license

this means that Graylog Enterprise has been enabled without a valid licence. If you have a licence, you can enter it in the Graylog interface. If you do not have a licence, simply disable Graylog Enterprise in the Stackhero dashboard.