Introduction
The article explains how to retain Mendix application logs for historical analysis in a Mendix on Kubernetes (MxOK) deployment when file-based log storage and application-level log rotation are required.
Environment
Applications hosted in Mendix on Kubernetes
Instructions/Procedure
Use an external logging solution. MxOK writes application logs to standard output streams (stdout and stderr) instead of local log files, requiring external log management.
- Use a log aggregation tool like Grafana to capture logs from Pods
- Configure automatic upload to object storage service like Amazon S3 for historical log retention
- Set up retention policy to maintain desired retention period
Outcome
Application logs are collected from Kubernetes Pods and retained in an external logging platform for the configured period.
Internal information related
267553
Additional information
Mendix documentation: Monitoring Environments in Mendix on Kubernetes
0 Comments