Message Formatting
Supported Log Formats
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 supportFixed-format endpoint
We have one special endpoint/source, and that’s thehttp-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 or JSON 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)