OptionalcompressCompress batches before sending (gzip).
OptionalenabledWhether this transport is currently active. Allows runtime enabling/disabling of transports.
OptionalexcludeTags that exclude logs from this transport. Logs with any of these tags are skipped.
OptionalfilterCustom filter function for advanced filtering logic. Return true to process the log, false to skip.
OptionalformatOutput format for this transport.
OptionalformatterCustom formatter function. Used when format is 'custom'.
OptionalimmediateWhether to send logs immediately without batching. Overrides other batch settings when true.
OptionallevelMinimum log level this transport will handle. Logs below this level are ignored by this transport.
OptionallevelsCustom levels this transport should handle. Allows fine-grained control over what gets logged where.
OptionalmaxMaximum size in bytes before sending a batch.
OptionalmaxMaximum number of logs to batch before sending.
OptionalmaxMaximum time to wait before sending a batch (milliseconds).
OptionalmaxMaximum queue size.
OptionalmaxMaximum retry attempts for failed batches.
OptionalnameUnique name identifier for this transport instance. Used for managing multiple transports.
OptionalretryInitial retry delay in milliseconds.
OptionalretryWhether to retry on failure.
OptionalsilentWhether to handle errors silently or propagate them.
OptionaltagsTags that must be present for this transport to handle a log. If specified, only logs with at least one matching tag are processed.
OptionaltimeoutTimeout for transport operations in milliseconds.
Combined options for batching transports.