> ## Documentation Index
> Fetch the complete documentation index at: https://docs.appsignal.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Log Formatting

## Message Formatting

<Warning>
  🔐 Do not send <strong>Personal Identifiable Information (PII)</strong> to AppSignal. Filter PII (e.g., names, emails) from logs and use an ID, hash, or pseudonymized identifier instead. <br /> <br /> For **HIPAA-covered entities**, more information about signing a Business Associate Agreement (BAA) can be found in our [Business Add-Ons documentation](/support/business-add-ons).
</Warning>

### Supported Log Formats

* [Plaintext](/logging/formatting#plaintext)
* [Logfmt](/logging/formatting/logfmt)
* [JSON](/logging/formatting/json)

How you can format your logs will vary depending on which configuration you are using with Logging. The table below outlines the currently available configurations and the log formats which they support

| Platform                                                                          | [JSON][json-docs]                     | [Logfmt][logfmt-docs]                 | [Plaintext](#plaintext)               |
| --------------------------------------------------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- |
| [AWS CloudWatch logs through Amazon Data Firehose](/logging/platforms/cloudwatch) | <Icon icon="check" color="#22c55e" /> | <Icon icon="check" color="#22c55e" /> | <Icon icon="check" color="#22c55e" /> |
| [Clever Cloud](/logging/platforms/clevercloud)                                    | <Icon icon="check" color="#22c55e" /> | <Icon icon="check" color="#22c55e" /> | <Icon icon="check" color="#22c55e" /> |
| [Gigalixir Log Drain](/logging/platforms/gigalixir)                               | <Icon icon="xmark" color="#ef4444" /> | <Icon icon="xmark" color="#ef4444" /> | <Icon icon="check" color="#22c55e" /> |
| [Heroku Log Drain](/logging/platforms/heroku)                                     | <Icon icon="check" color="#22c55e" /> | <Icon icon="check" color="#22c55e" /> | <Icon icon="check" color="#22c55e" /> |
| [HTTP](/logging/endpoints/http)                                                   | <Icon icon="check" color="#22c55e" /> | <Icon icon="check" color="#22c55e" /> | <Icon icon="check" color="#22c55e" /> |
| [Netlify](/logging/platforms/netlify)                                             | <Icon icon="xmark" color="#ef4444" /> | <Icon icon="xmark" color="#ef4444" /> | <Icon icon="check" color="#22c55e" /> |
| [Render](/logging/platforms/render)                                               | <Icon icon="check" color="#22c55e" /> | <Icon icon="check" color="#22c55e" /> | <Icon icon="check" color="#22c55e" /> |
| [Scalingo](/logging/platforms/scalingo)                                           | <Icon icon="check" color="#22c55e" /> | <Icon icon="check" color="#22c55e" /> | <Icon icon="check" color="#22c55e" /> |
| [Syslog](/logging/endpoints/syslog)                                               | <Icon icon="check" color="#22c55e" /> | <Icon icon="check" color="#22c55e" /> | <Icon icon="check" color="#22c55e" /> |

## Fixed-format endpoint

We have one special endpoint/source, and that's the `http-json` endpoint. This endpoint is intended for customers implementing their own log forwarding solution, or log implementation.
This endpoint expects a specific NDJSON format, and will silently ignore any messages that do not match this format.

### Attributes

When using [Logfmt][logfmt-docs] or [JSON][json-docs] as your log format, you can add searchable attributes to your logs. Attributes can be any of the following types:

* string
* integer (e.g. `10`)
* double (e.g. `10.01`)
* boolean (`true`/`false`)

### Plaintext

When specifying Plaintext as your log format, the log line will be used as the message as-is, and AppSignal will not parse attributes from the log line. If you want to have searchable attributes in your application's logs, we recommend formatting your logs in [Logfmt][logfmt-docs] or [JSON][json-docs].

[json-docs]: /logging/formatting/json.html#json

[logfmt-docs]: /logging/formatting/logfmt.html

[syslog-info]: https://www.rsyslog.com/doc/master/configuration/modules/pmrfc5424.html
