Optional
circuitCircuit breaker configuration.
Optional
compressCompress batches before sending (gzip).
Optional
connectionConnection timeout in milliseconds.
Optional
dlqDead letter queue configuration for failed logs.
Optional
enabledWhether this transport is currently active. Allows runtime enabling/disabling of transports.
Optional
excludeTags that exclude logs from this transport. Logs with any of these tags are skipped.
Optional
fallbackFallback transport to use when this transport fails. Can be 'file', 'console', or a Transport instance.
Optional
filterCustom filter function for advanced filtering logic. Return true to process the log, false to skip.
Optional
formatOutput format for this transport.
Optional
formatterCustom formatter function. Used when format is 'custom'.
Optional
headersRequest headers to include with all requests.
Optional
healthHealth check interval in milliseconds.
Optional
immediateWhether to send logs immediately without batching. Overrides other batch settings when true.
Optional
keepKeep-alive interval in milliseconds.
Optional
levelMinimum log level this transport will handle. Logs below this level are ignored by this transport.
Optional
levelsCustom levels this transport should handle. Allows fine-grained control over what gets logged where.
Optional
maxMaximum size in bytes before sending a batch.
Optional
maxMaximum number of logs to batch before sending.
Optional
maxMaximum time to wait before sending a batch (milliseconds).
Optional
maxMaximum offline queue size.
Optional
maxMaximum queue size.
Optional
maxMaximum reconnection attempts.
Optional
maxMaximum retry attempts for failed batches.
Optional
nameUnique name identifier for this transport instance. Used for managing multiple transports.
Optional
queueWhether to queue logs when offline.
Optional
reconnectWhether to use exponential backoff for reconnects.
Optional
reconnectDelay between reconnection attempts.
Optional
requestRequest timeout in milliseconds.
Optional
retryRetry configuration for failed requests.
Optional
retryInitial retry delay in milliseconds.
Optional
retryWhether to retry on failure.
Optional
silentWhether to handle errors silently or propagate them.
Optional
tagsTags that must be present for this transport to handle a log. If specified, only logs with at least one matching tag are processed.
Optional
timeoutTimeout for transport operations in milliseconds.
Optional
tlsTLS/SSL options for HTTPS connections.
Optional
urlNetwork endpoint URL.
Options for network-based transports (HTTP, S3, etc).