Integrated Monitoring and Logging
What Kind of Logging and Audit Trails Are Provided in Mendix?
Mendix applies extensive logging of the whole application lifecycle. Logging is done not only on actions performed by the Mendix Runtime, but also on activities during the design, development, and deployment of an application. Accordingly, there is a full audit trail of all the relevant activities in an app, as well as who executed them and when they were executed.
The following sections go into more detail about the various levels of logging.
Can I Identify Who Defined Which Requirements?
The Mendix Platform supports the definition of requirements in the form of user stories (via the Projects module of an app project). Mendix logs actions related to the user stories in order to trace who defined which requirements.
How Is the Integrity of My Application Development Monitored?
The integrity of the application being developed is monitored by the Team Server, which allows you to link all change commits within a Mendix app to specific user stories and users. This enables you to trace who developed which part of your application and for what reason.
Which Deployment Activities Are Logged?
The Mendix Portal is the component of the Mendix Platform that, among other functions, handles the deployment of application packages (called deployment archives in Mendix). Activities pertaining to deployment in the Mendix Portal include the deployment and staging of apps across environments. In addition, backup and restore actions are logged, so there is full traceability of the administrative tasks performed.
Which Runtime Activities Are Logged?
The Mendix Runtime offers the option to log user behavior and object manipulations, enabling audit trails to the lowest level. Aside from standard log details (for example, active users), Mendix Studio Pro allows you to add custom logging. You can even add active alerts based on bespoke integrity triggers.
Logs are persistently stored in log files, and Mendix provides an API for subscribing to log events. Mendix also integrates with third-party tools like RSA for the encrypted storage of log files in environments where secure logging and auditing is required.
How Does Mendix Support Integration with SIEM Solutions?
Mendix provides native integration capabilities with Datadog and Splunk Cloud Platform for monitoring and analyzing application performance and logs.
Datadog Integration
Mendix Cloud applications can be configured to send runtime metrics to Datadog, enabling monitoring of various aspects such as microflows, services, and system metrics. This integration allows for enhanced observability and performance tracking. For more information, see Monitor Your Mendix Apps with Datadog.
Splunk Cloud Platform Integration
Mendix Cloud also supports integration with Splunk Cloud Platform. By setting specific environment variables in the Mendix Portal, runtime application logs can be forwarded to Splunk, facilitating advanced log analysis and visualization. For more information, see Splunk for Mendix Cloud.