---
schema_version: "1"
id: b444e44ea08ae5b94b8702bcebd34103d430a7eb9063b6d1762caceca0d29956
title: Payload Formats and Logging
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/runtime-manager/about-logging-of-payload-formats.md
canonical_url: https://docs.mulesoft.com/runtime-manager/about-logging-of-payload-formats
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 558995631719c903b8a943775e03bc9eb2bc82f94d9f386033c08f04b3f9447c
description: MuleSoft Documentation Site
latest: true
---
---
product: Runtime Manager
keywords: analytics, monitoring, splunk, elk, elastisearch, logstash, kibana, logs, mule events, logging, apy analytics, metrics, traceability, arm, anypoint runtime manager
---

# Payload Formats and Logging

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

[![logo hybrid active](/mulesoft/current/en-us/_/img/icons/hybrid-cloud.svg "Hybrid")Hybrid](deployment-strategies#hybrid-deployments)[ ![logo server active](/mulesoft/current/en-us/_/img/icons/server-cloud.svg "Anypoint Platform PCE")Private Cloud Edition](deployment-strategies#anypoint-platform-private-cloud-edition)

To send message payload data to external analytics software, Runtime Manager agent must first
serialize and convert the data to text.

Because some payload formats can’t be converted to plain text, Runtime Manager agent converts only
those formats that are considered to work. When the payload format can’t be converted, the agent
passes only the fully qualified name of the payload class type, not the payload message content.

> [!NOTE] Runtime Manager agent version 1.6.2 and earlier attempts to convert all payload formats,
> which results in failures for some formats.

## Default Conversion Behavior

The following table lists the payload formats and specifies whether Runtime Manager agent converts
them to the String type and passes the payload message. If the **Converted to String** column shows
FALSE, Runtime Manager agent passes only the payload class type.

<table><colgroup><col> <col> <col> <col></colgroup><thead><tr><th>Extension</th><th>Kind of document</th><th>MIME Type</th><th>Converted to String</th></tr></thead><tbody><tr><td><p>.epub</p></td><td><p>Electronic publication (EPUB)</p></td><td><p>application/epub+zip</p></td><td><p>FALSE</p></td></tr><tr><td><p>.jar</p></td><td><p>Java Archive (JAR)</p></td><td><p>application/java-archive</p></td><td><p>FALSE</p></td></tr><tr><td><p>.js</p></td><td><p>JavaScript (ECMAScript)</p></td><td><p>application/javascript</p></td><td><p>TRUE</p></td></tr><tr><td><p>.json</p></td><td><p>JSON format</p></td><td><p>application/json</p></td><td><p>TRUE</p></td></tr><tr><td><p>.doc</p></td><td><p>Microsoft Word</p></td><td><p>application/msword</p></td><td><p>FALSE</p></td></tr><tr><td><p>.arc</p></td><td><p>Archive document (multiple files embedded)</p></td><td><p>application/octet-stream</p></td><td><p>FALSE</p></td></tr><tr><td><p>.bin</p></td><td><p>Any kind of binary data</p></td><td><p>application/octet-stream</p></td><td><p>FALSE</p></td></tr><tr><td><p>.ogx</p></td><td><p>OGG</p></td><td><p>application/ogg</p></td><td><p>FALSE</p></td></tr><tr><td><p>.pdf</p></td><td><p>Adobe Portable Document Format (PDF)</p></td><td><p>application/pdf</p></td><td><p>FALSE</p></td></tr><tr><td><p>.rtf</p></td><td><p>Rich Text Format (RTF)</p></td><td><p>application/rtf</p></td><td><p>TRUE</p></td></tr><tr><td><p>.azw</p></td><td><p>Amazon Kindle eBook format</p></td><td><p>application/vnd.amazon.ebook</p></td><td><p>FALSE</p></td></tr><tr><td><p>.mpkg</p></td><td><p>Apple Installer Package</p></td><td><p>application/vnd.apple.installer+xml</p></td><td><p>FALSE</p></td></tr><tr><td><p>.xul</p></td><td><p>XUL</p></td><td><p>application/vnd.mozilla.xul+xml</p></td><td><p>TRUE</p></td></tr><tr><td><p>.xls</p></td><td><p>Microsoft Excel</p></td><td><p>application/vnd.ms-excel</p></td><td><p>FALSE</p></td></tr><tr><td><p>.ppt</p></td><td><p>Microsoft PowerPoint</p></td><td><p>application/vnd.ms-powerpoint</p></td><td><p>FALSE</p></td></tr><tr><td><p>.odp</p></td><td><p>OpenDocument presentation document</p></td><td><p>application/vnd.oasis.opendocument.presentation</p></td><td><p>FALSE</p></td></tr><tr><td><p>.ods</p></td><td><p>OpenDocument spreadsheet document</p></td><td><p>application/vnd.oasis.opendocument.spreadsheet</p></td><td><p>FALSE</p></td></tr><tr><td><p>.odt</p></td><td><p>OpenDocument text document</p></td><td><p>application/vnd.oasis.opendocument.text</p></td><td><p>FALSE</p></td></tr><tr><td><p>.vsd</p></td><td><p>Microsoft Visio</p></td><td><p>application/vnd.visio</p></td><td><p>FALSE</p></td></tr><tr><td><p>.7z</p></td><td><p>7-zip archive</p></td><td><p>application/x-7z-compressed</p></td><td><p>FALSE</p></td></tr><tr><td><p>.abw</p></td><td><p>AbiWord document</p></td><td><p>application/x-abiword</p></td><td><p>FALSE</p></td></tr><tr><td><p>.bz</p></td><td><p>BZip archive</p></td><td><p>application/x-bzip</p></td><td><p>FALSE</p></td></tr><tr><td><p>.bz2</p></td><td><p>BZip2 archive</p></td><td><p>application/x-bzip2</p></td><td><p>FALSE</p></td></tr><tr><td><p>.csh</p></td><td><p>C-Shell script</p></td><td><p>application/x-csh</p></td><td><p>TRUE</p></td></tr><tr><td><p>.rar</p></td><td><p>RAR archive</p></td><td><p>application/x-rar-compressed</p></td><td><p>FALSE</p></td></tr><tr><td><p>.sh</p></td><td><p>Bourne shell script</p></td><td><p>application/x-sh</p></td><td><p>TRUE</p></td></tr><tr><td><p>.swf</p></td><td><p>Small web format (SWF) or Adobe Flash document</p></td><td><p>application/x-shockwave-flash</p></td><td><p>FALSE</p></td></tr><tr><td><p>.tar</p></td><td><p>Tape Archive (TAR)</p></td><td><p>application/x-tar</p></td><td><p>FALSE</p></td></tr><tr><td><p>.xhtml</p></td><td><p>XHTML</p></td><td><p>application/xhtml+xml</p></td><td><p>TRUE</p></td></tr><tr><td><p>.xml</p></td><td><p>XML</p></td><td><p>application/xml</p></td><td><p>TRUE</p></td></tr><tr><td><p>.zip</p></td><td><p>ZIP archive</p></td><td><p>application/zip</p></td><td><p>FALSE</p></td></tr><tr><td><p>.aac</p></td><td><p>AAC audio file</p></td><td><p>audio/aac</p></td><td><p>FALSE</p></td></tr><tr><td><p>.mid .midi</p></td><td><p>Musical Instrument Digital Interface (MIDI)</p></td><td><p>audio/midi</p></td><td><p>FALSE</p></td></tr><tr><td><p>.oga</p></td><td><p>OGG audio</p></td><td><p>audio/ogg</p></td><td><p>FALSE</p></td></tr><tr><td><p>.weba</p></td><td><p>WEBM audio</p></td><td><p>audio/webm</p></td><td><p>FALSE</p></td></tr><tr><td><p>.wav</p></td><td><p>Waveform Audio Format</p></td><td><p>audio/x-wav</p></td><td><p>FALSE</p></td></tr><tr><td><p>.ttf</p></td><td><p>TrueType Font</p></td><td><p>font/ttf</p></td><td><p>FALSE</p></td></tr><tr><td><p>.woff</p></td><td><p>Web Open Font Format (WOFF)</p></td><td><p>font/woff</p></td><td><p>FALSE</p></td></tr><tr><td><p>.woff2</p></td><td><p>Web Open Font Format (WOFF)</p></td><td><p>font/woff2</p></td><td><p>FALSE</p></td></tr><tr><td><p>.gif</p></td><td><p>Graphics Interchange Format (GIF)</p></td><td><p>image/gif</p></td><td><p>FALSE</p></td></tr><tr><td><p>.jpeg .jpg</p></td><td><p>JPEG images</p></td><td><p>image/jpeg</p></td><td><p>FALSE</p></td></tr><tr><td><p>.svg</p></td><td><p>Scalable Vector Graphics (SVG)</p></td><td><p>image/svg+xml</p></td><td><p>TRUE</p></td></tr><tr><td><p>.tif</p></td><td><p>.tiff Tagged Image File Format (TIFF)</p></td><td><p>image/tiff</p></td><td><p>FALSE</p></td></tr><tr><td><p>.webp</p></td><td><p>WEBP image</p></td><td><p>image/webp</p></td><td><p>FALSE</p></td></tr><tr><td><p>.ico</p></td><td><p>Icon format</p></td><td><p>image/x-icon</p></td><td><p>FALSE</p></td></tr><tr><td><p>.ics</p></td><td><p>iCalendar format</p></td><td><p>text/calendar</p></td><td><p>TRUE</p></td></tr><tr><td><p>.css</p></td><td><p>Cascading Style Sheets (CSS)</p></td><td><p>text/css</p></td><td><p>TRUE</p></td></tr><tr><td><p>.csv</p></td><td><p>Comma-separated values (CSV)</p></td><td><p>text/csv</p></td><td><p>TRUE</p></td></tr><tr><td><p>.htm</p></td><td><p>.html HyperText Markup Language (HTML)</p></td><td><p>text/html</p></td><td><p>TRUE</p></td></tr><tr><td><p>.txt</p></td><td><p>Plain Text</p></td><td><p>text/plain</p></td><td><p>TRUE</p></td></tr><tr><td><p>.3gp</p></td><td><p>3GPP audio/video container</p></td><td><p>video/3gpp audio/3gpp if it doesn’t contain video</p></td><td><p>FALSE</p></td></tr><tr><td><p>.3g2</p></td><td><p>3GPP2 audio/video container</p></td><td><p>video/3gpp2 audio/3gpp2 if it doesn’t contain video</p></td><td><p>FALSE</p></td></tr><tr><td><p>.mpeg</p></td><td><p>MPEG Video</p></td><td><p>video/mpeg</p></td><td><p>FALSE</p></td></tr><tr><td><p>.ogv</p></td><td><p>OGG video</p></td><td><p>video/ogg</p></td><td><p>FALSE</p></td></tr><tr><td><p>.webm</p></td><td><p>WEBM video</p></td><td><p>video/webm</p></td><td><p>FALSE</p></td></tr><tr><td><p>.avi</p></td><td><p>AVI: Audio Video Interleave</p></td><td><p>video/x-msvideo</p></td><td><p>FALSE</p></td></tr><tr><td></td><td><p>Multipart</p></td><td><p>"multipart/mixed, multipart/alternative, multipart/digest multipart/parallel"</p></td><td><p>FALSE</p></td></tr></tbody></table>

## Customize Conversion Behavior

You can override the default behavior and configure the agent to forward all payload formats or none
by adding properties to the `conf/mule-agent.yml` file.

For example, you might want to exclude some formats from the external logs if your organization is
concerned about the security of sharing certain types of data.

### Exclude Payloads

To exclude all payloads for a specific application:

```yaml
mule.agent.tracking.service:
  globalTrackingLevel: DEBUG
  enabled: true
  trackedApplications:
    - appName: someApp
      trackingLevel: DEBUG
      payloadExcluded: true
```

To exclude all payloads for all apps:

```yaml
mule.agent.tracking.service:
  globalTrackingLevel: DEBUG
  enabled: true
  globalPayloadExclusion: true
```

### Include Payloads

You might want to convert and forward payload formats that Runtime Manager agent considers not
convertible.

> [!IMPORTANT] If you force conversion for all payload formats, the payload sent might be the
> payload class type, not the payload message content.

To include all payloads for a specific application:

```yaml
mule.agent.tracking.service:
  globalTrackingLevel: DEBUG
  enabled: true
  trackedApplications:
    - appName: someApp
      trackingLevel: DEBUG
      forcePayloadInclusion: true
```

To include all payloads for all apps:

```yaml
mule.agent.tracking.service:
  globalTrackingLevel: DEBUG
  enabled: true
  forceGlobalPayloadInclusion: true
```

## See Also

- [Export Data to External Analytics Tools](https://docs.mulesoft.com/runtime-manager/sending-data-from-arm-to-external-analytics-software)

- [Runtime Manager API](https://anypoint.mulesoft.com/exchange/portals/anypoint-platform/f1e97bc6-315a-4490-82a7-23abe036327a.anypoint-platform/arm-rest-services)
