From a8fb6dce0b252c009466283304e51edab1d87804 Mon Sep 17 00:00:00 2001 From: ekremsekerci Date: Wed, 18 Feb 2026 15:53:34 +0100 Subject: [PATCH] Add access logs support to Splunk, New Relic and Dynatrace integrations. --- .../monitoring-with-apm/dynatrace-metrics.md | 19 ++++++++-------- .../monitoring-with-apm/newrelic-metrics.md | 22 ++++++++++--------- .../monitoring-with-apm/splunk-metrics.md | 6 +++-- .../deployment/mendix-cloud/2026.md | 6 +++++ 4 files changed, 32 insertions(+), 21 deletions(-) diff --git a/content/en/docs/deployment/mendix-cloud-deploy/monitoring-with-apm/dynatrace-metrics.md b/content/en/docs/deployment/mendix-cloud-deploy/monitoring-with-apm/dynatrace-metrics.md index 7934a480310..510e58fb3a5 100644 --- a/content/en/docs/deployment/mendix-cloud-deploy/monitoring-with-apm/dynatrace-metrics.md +++ b/content/en/docs/deployment/mendix-cloud-deploy/monitoring-with-apm/dynatrace-metrics.md @@ -36,15 +36,16 @@ To start sending your Mendix app's metrics to Dynatrace, you need to set some en 3. Switch to the [**Runtime** tab](/developerportal/deploy/environments-details/#runtime-tab). 4. Add the following **Custom Environment Variables**. - | Variable | Required? | Description | Details | - | --- |-----------| --- | --- | - | `DT_SAAS_URL` | Yes | The URL of Dynatrace environment | The format when using the Dynatrace SaaS environment is similar to `https://.live.dynatrace.com`. If you are using a Dynatrace managed environment, just provide the full URL of the Dynatrace domain, like `https://`. | - | `DT_TENANT` | Yes | The Dynatrace Environment ID | For more information, see the [Environment ID](https://www.dynatrace.com/support/help/get-started/monitoring-environment/environment-id) Dynatrace documentation. | - | `DT_PAAS_TOKEN` | Yes | The access token for integrating your Mendix app with Dynatrace | Create this on the Dynatrace environment. For more information, see [Generate an Access Token](https://www.dynatrace.com/support/help/get-started/access-tokens#create-api-token). The token must include the `PaaS integration - Installer download` and `Ingest metrics` scopes. For logging integration, `Ingest logs` scope is also required. | - | `DT_ENABLE_LOGS` | No | Set this to `true` to enable logging | Only supported for Dynatrace SaaS. `Ingest logs` scope is required to be included in the access token. | - | `DT_IS_MANAGED` | No | Set this to `true` if you are using Dynatrace Managed. The default is assumed to be Dynatrace SaaS and set to `false`. | This variable is only needed for custom application metrics ingestion. | - | `DT_CLUSTER_ID` | No | You can use this to tag your cluster, process group, or deployment group. | | - | `DT_CUSTOM_PROP` | No | This can be used to provide metadata for your process group. | For more information, see [Define Your Own Process Group Metadata](https://www.dynatrace.com/support/help/platform-modules/infrastructure-monitoring/process-groups/configuration/define-your-own-process-group-metadata). | + | Variable | Required? | Description | Details | + |-------------------------|-----------|------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| + | `DT_SAAS_URL` | Yes | The URL of Dynatrace environment | The format when using the Dynatrace SaaS environment is similar to `https://.live.dynatrace.com`. If you are using a Dynatrace managed environment, just provide the full URL of the Dynatrace domain, like `https://`. | + | `DT_TENANT` | Yes | The Dynatrace Environment ID | For more information, see the [Environment ID](https://www.dynatrace.com/support/help/get-started/monitoring-environment/environment-id) Dynatrace documentation. | + | `DT_PAAS_TOKEN` | Yes | The access token for integrating your Mendix app with Dynatrace | Create this on the Dynatrace environment. For more information, see [Generate an Access Token](https://www.dynatrace.com/support/help/get-started/access-tokens#create-api-token). The token must include the `PaaS integration - Installer download` and `Ingest metrics` scopes. For logging integration, `Ingest logs` scope is also required. | + | `DT_ENABLE_LOGS` | No | Set this to `true` to enable logging | Only supported for Dynatrace SaaS. `Ingest logs` scope is required to be included in the access token. | + | `DT_IS_MANAGED` | No | Set this to `true` if you are using Dynatrace Managed. The default is assumed to be Dynatrace SaaS and set to `false`. | This variable is only needed for custom application metrics ingestion. | + | `DT_CLUSTER_ID` | No | You can use this to tag your cluster, process group, or deployment group. | | + | `DT_CUSTOM_PROP` | No | This can be used to provide metadata for your process group. | For more information, see [Define Your Own Process Group Metadata](https://www.dynatrace.com/support/help/platform-modules/infrastructure-monitoring/process-groups/configuration/define-your-own-process-group-metadata). | +| | `APM_ENABLE_ACCESS_LOGS` | No | Sends access logs to Dynatrace when it's set to `true`.Disabled by default. | | 5. Return to the **General** tab and restart your environment. diff --git a/content/en/docs/deployment/mendix-cloud-deploy/monitoring-with-apm/newrelic-metrics.md b/content/en/docs/deployment/mendix-cloud-deploy/monitoring-with-apm/newrelic-metrics.md index d8f3a9d66fd..f997cf9182c 100644 --- a/content/en/docs/deployment/mendix-cloud-deploy/monitoring-with-apm/newrelic-metrics.md +++ b/content/en/docs/deployment/mendix-cloud-deploy/monitoring-with-apm/newrelic-metrics.md @@ -43,15 +43,16 @@ To send your runtime information to New Relic, you must provide the New Relic AP 1. Switch to the **Runtime** tab. 1. Add the following **Custom Environment Variables**: - | Variable | Description | Default | - | --- | --- | --- | - | `NEW_RELIC_LICENSE_KEY` | License key or API key from New Relic. Obtained in the [New Relic API Key](#newrelic-api-key) section. | | - | `NEW_RELIC_LOGS_URI` | URI for the New Relic's Logs API. For more information, consult [New Relic Regions](#uri-regions). Example: `https://log-api.eu.newrelic.com/log/v1`. | | - | `NEW_RELIC_METRICS_URI` | URI for the New Relic's Metrics API. For more information, consult [New Relic Regions](#uri-regions). Example: `https://metric-api.eu.newrelic.com/metric/v1`. | | - | `NEW_RELIC_APP_NAME` (optional) | Mendix Application name shown on New Relic's APM & Services. Default: Domain host name. | | - | `LOGS_REDACTION` (optional) | Email addresses are automatically redacted before log entries are sent to New Relic. To disable this redaction, set `LOGS_REDACTION` to `false`. Default: `true`. || - | `FLUENTBIT_LOGS_BUFFER_SIZE` | Sets the maximum amount of data (in KB) that the TCP input plugin reads from the socket per read operation. Increasing this value can help to get rid of data flow delay, and errors related to queue buffer overflow. | `128` | - | `FLUENTBIT_LOGS_MEM_BUF_LIMIT` | Defines the maximum total memory an input plugin can use for buffering log records before they are processed or flushed to storage/output. Limits memory which can be consumed by the Fluentbit agent | `50MB` | + | Variable | Description | Default | + | --- |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| --- | + | `NEW_RELIC_LICENSE_KEY` | License key or API key from New Relic. Obtained in the [New Relic API Key](#newrelic-api-key) section. | | + | `NEW_RELIC_LOGS_URI` | URI for the New Relic's Logs API. For more information, consult [New Relic Regions](#uri-regions). Example: `https://log-api.eu.newrelic.com/log/v1`. | | + | `NEW_RELIC_METRICS_URI` | URI for the New Relic's Metrics API. For more information, consult [New Relic Regions](#uri-regions). Example: `https://metric-api.eu.newrelic.com/metric/v1`. | | + | `NEW_RELIC_APP_NAME` (optional) | Mendix Application name shown on New Relic's APM & Services. Default: Domain host name. | | + | `LOGS_REDACTION` (optional) | Email addresses are automatically redacted before log entries are sent to New Relic. To disable this redaction, set `LOGS_REDACTION` to `false`. Default: `true`. || + | `FLUENTBIT_LOGS_BUFFER_SIZE` | Sets the maximum amount of data (in KB) that the TCP input plugin reads from the socket per read operation. Increasing this value can help to get rid of data flow delay, and errors related to queue buffer overflow. | `128` | + | `FLUENTBIT_LOGS_MEM_BUF_LIMIT` | Defines the maximum total memory an input plugin can use for buffering log records before they are processed or flushed to storage/output. Limits memory which can be consumed by the Fluentbit agent | `50MB` | + | `APM_ENABLE_ACCESS_LOGS` | Sends access logs to New Relic when it's set to `true`.Disabled by default. | `false` | 1. Return to the **Environments** page for your app and **Deploy** or **Transport** your app into the selected environment. @@ -63,7 +64,7 @@ To help you with analyzing your app metrics as described in the [App Metrics](/d ### Metadata -In addition to the runtime application logs, the following JSON-formatted metadata is automatically sent to New Relic: +In addition to the runtime application/access logs, the following JSON-formatted metadata is automatically sent to New Relic: * `environment_id` – unique identifier of the environment * `instance_index` – number of the application instance (available only in Cloud Foundry deployments) @@ -72,6 +73,7 @@ In addition to the runtime application logs, the following JSON-formatted metada * `application_name` – default application name, retrieved from the domain name * `model_version` – model version of the Mendix runtime * `runtime_version` – version of the Mendix runtime +* `log_type` – type of the log, which can be `mx.applicationlogs` or `mx.accesslogs` You can filter the data by these fields. diff --git a/content/en/docs/deployment/mendix-cloud-deploy/monitoring-with-apm/splunk-metrics.md b/content/en/docs/deployment/mendix-cloud-deploy/monitoring-with-apm/splunk-metrics.md index ff13662e48e..01b64858285 100644 --- a/content/en/docs/deployment/mendix-cloud-deploy/monitoring-with-apm/splunk-metrics.md +++ b/content/en/docs/deployment/mendix-cloud-deploy/monitoring-with-apm/splunk-metrics.md @@ -9,7 +9,7 @@ description: "How to configure Mendix Cloud to send your runtime application log ## Introduction -[Splunk Cloud Platform](https://www.splunk.com/en_us/products/splunk-cloud-platform.html) is a monitoring and analysis tool for cloud applications. This document explains how to configure your Mendix Cloud application to send runtime application logs and metrics to Splunk Cloud Platform to provide additional search, analysis, and visualization of your runtime application logs and metrics. +[Splunk Cloud Platform](https://www.splunk.com/en_us/products/splunk-cloud-platform.html) is a monitoring and analysis tool for cloud applications. This document explains how to configure your Mendix Cloud application to send runtime application logs, access logs and metrics to Splunk Cloud Platform to provide additional search, analysis, and visualization of your runtime application logs and metrics. Mendix provides integration with Splunk Cloud Platform; it does not currently integrate with other Splunk monitoring products. @@ -44,7 +44,8 @@ To send your runtime information to Splunk Cloud Platform, you need to set it up | `LOGS_REDACTION` | Email addresses are automatically redacted before log entries are sent to Splunk Cloud Platform. To disable this redaction, set `LOGS_REDACTION` to `false`. The environment variable `SPLUNK_LOGS_REDACTION` is now deprecated in Cloud Foundry and is not supported for apps with Kubernetes deployment. Its use is not recommended. | `true` | | `FLUENTBIT_LOGS_BUFFER_SIZE` | Sets the maximum amount of data (in KB) that the TCP input plugin reads from the socket per read operation. Increasing this value can help to get rid of data flow delay, and errors related to queue buffer overflow. | `128` | | `FLUENTBIT_LOGS_MEM_BUF_LIMIT` | Defines the maximum total memory an input plugin can use for buffering log records before they are processed or flushed to storage/output. Limits memory which can be consumed by the Fluentbit agent | `50MB` | - | `SPLUNK_ENABLE_METRICS` | Sends application metrics to Splunk when it's set to `true`. Disabled by default. | `false` | + | `SPLUNK_ENABLE_METRICS` | Sends application metrics to Splunk when it's set to `true`. Disabled by default. | `false` | + | `APM_ENABLE_ACCESS_LOGS` | Sends access logs to Splunk when it's set to `true`.Disabled by default. | `false` | 5. Return to the **Environments** page for your app and **Deploy** or **Transport** your app into the selected environment. @@ -61,6 +62,7 @@ In addition to the runtime application logs, the following JSON-formatted metada * `application_name` – default application name, retrieved from domain name * `model_version` – model version of the Mendix runtime * `runtime_version` – version of the Mendix runtime +* `log_type` – type of the log, which can be `mx.applicationlogs` or `mx.accesslogs` You can filter the data by these fields. diff --git a/content/en/docs/releasenotes/deployment/mendix-cloud/2026.md b/content/en/docs/releasenotes/deployment/mendix-cloud/2026.md index acc395e24e5..2ac1a413951 100644 --- a/content/en/docs/releasenotes/deployment/mendix-cloud/2026.md +++ b/content/en/docs/releasenotes/deployment/mendix-cloud/2026.md @@ -8,6 +8,12 @@ weight: 1 ## February 2026 +### February 18, 2026 + +#### New Features + +* We added support for access logs to Splunk, New Relic and Dynatrace integrations. + ### February 15, 2026 #### Bug Fixes