Sumo Logic HTTP
The sumologic-http
output sends log records over HTTP to Sumo Logic.
Prerequisites
You need a Sumo Logic account to use this output. For details, see the syslog-ng documentation.
Example
Configuration
SumologicHTTPOutput
collector (*secret.Secret, optional)
The Cloud Syslog Cloud Token that you received from the Sumo Logic service while configuring your cloud syslog source.
Default: empty
deployment (string, optional)
This option specifies your Sumo Logic deployment.https://help.sumologic.com/APIs/General-API-Information/Sumo-Logic-Endpoints-by-Deployment-and-Firewall-Security
Default: empty
headers ([]string, optional)
Custom HTTP headers to include in the request, for example, headers(“HEADER1: header1”, “HEADER2: header2”).
Default: empty
time_reopen (int, optional)
The time to wait in seconds before a dead connection is reestablished.
Default: 60
tls (*TLS, optional)
This option sets various options related to TLS encryption, for example, key/certificate files and trusted CA locations. TLS can be used only with tcp-based transport protocols. For details, see TLS for syslog-ng outputs and the syslog-ng documentation.
Default: -
disk_buffer (*DiskBuffer, optional)
This option enables putting outgoing messages into the disk buffer of the destination to avoid message loss in case of a system failure on the destination side. For details, see the Syslog-ng DiskBuffer options.
Default: false
body (string, optional)
Default: -
url (*secret.Secret, optional)
Default: -
batch-lines (int, optional)
Default: -
batch-bytes (int, optional)
Default: -
batch-timeout (int, optional)
Default: -
persist_name (string, optional)
Default: -