Download logs of a Mendix App using an API

  We have a requirement to ingest our app logs into the companies Splunk system. So to do this I need to automatically download logs on a regular basis.  Is there an API available to do this? We already have an automated way of downloading backups so I am hoping that something similar exists for logs.    
2 answers

Hi Robin,

I don’t believe there is an API to download log files – perhaps its on the roadmap. 

As an alternative, you could install the Logging Module from the Marketplace .  This module persists log entries into a database entity.  Once that’s installed, you could save or backup those log entries externally via an api or generate a daily log file and save it to a location of your choice.

Hope that helps,



There is an even better module you should try:

Log to Splunk