Payload Formats and Logging | MuleSoft Documentation
# Payload Formats and Logging
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.
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.
Extension | Kind of document | MIME Type | Converted to String  
---|---|---|---  
Electronic publication (EPUB) | application/epub+zip  
Java Archive (JAR) | application/java-archive  
JavaScript (ECMAScript) | application/javascript  
JSON format | application/json  
Microsoft Word | application/msword  
Archive document (multiple files embedded) | application/octet-stream  
Any kind of binary data | application/octet-stream  
application/ogg  
Adobe Portable Document Format (PDF) | application/pdf  
Rich Text Format (RTF) | application/rtf  
Amazon Kindle eBook format | application/vnd.amazon.ebook  
Apple Installer Package | application/vnd.apple.installer+xml  
application/vnd.mozilla.xul+xml  
Microsoft Excel | application/vnd.ms-excel  
Microsoft PowerPoint | application/vnd.ms-powerpoint  
OpenDocument presentation document | application/vnd.oasis.opendocument.presentation  
OpenDocument spreadsheet document | application/vnd.oasis.opendocument.spreadsheet  
OpenDocument text document | application/vnd.oasis.opendocument.text  
Microsoft Visio | application/vnd.visio  
7-zip archive | application/x-7z-compressed  
AbiWord document | application/x-abiword  
BZip archive | application/x-bzip  
BZip2 archive | application/x-bzip2  
C-Shell script | application/x-csh  
RAR archive | application/x-rar-compressed  
Bourne shell script | application/x-sh  
Small web format (SWF) or Adobe Flash document | application/x-shockwave-flash  
Tape Archive (TAR) | application/x-tar  
application/xhtml+xml  
application/xml  
ZIP archive | application/zip  
AAC audio file | audio/aac  
.mid .midi | Musical Instrument Digital Interface (MIDI) | audio/midi  
OGG audio | audio/ogg  
WEBM audio | audio/webm  
Waveform Audio Format | audio/x-wav  
TrueType Font | font/ttf  
Web Open Font Format (WOFF) | font/woff  
Web Open Font Format (WOFF) | font/woff2  
Graphics Interchange Format (GIF) | image/gif  
.jpeg .jpg | JPEG images | image/jpeg  
Scalable Vector Graphics (SVG) | image/svg+xml  
.tiff Tagged Image File Format (TIFF) | image/tiff  
WEBP image | image/webp  
Icon format | image/x-icon  
iCalendar format | text/calendar  
Cascading Style Sheets (CSS) | text/css  
Comma-separated values (CSV) | text/csv  
.html HyperText Markup Language (HTML) | text/html  
Plain Text | text/plain  
3GPP audio/video container | video/3gpp audio/3gpp if it doesn’t contain video  
3GPP2 audio/video container | video/3gpp2 audio/3gpp2 if it doesn’t contain video  
MPEG Video | video/mpeg  
OGG video | video/ogg  
WEBM video | video/webm  
AVI: Audio Video Interleave | video/x-msvideo  
Multipart | "multipart/mixed, multipart/alternative, multipart/digest multipart/parallel"  
## 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:
```
  mule.agent.tracking.service:
    globalTrackingLevel: DEBUG
    enabled: true
    trackedApplications:
      - appName: someApp
       trackingLevel: DEBUG
       payloadExcluded: true
```

To exclude all payloads for all apps:
```
  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.
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:
```
  mule.agent.tracking.service:
    globalTrackingLevel: DEBUG
    enabled: true
    trackedApplications:
      - appName: someApp
       trackingLevel: DEBUG
       forcePayloadInclusion: true
```

To include all payloads for all apps:
```
  mule.agent.tracking.service:
    globalTrackingLevel: DEBUG
    enabled: true
    forceGlobalPayloadInclusion: true
```

## See Also
  * Export Data to External Analytics Tools
  *