This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

sumologic-http()

The sumologic-http() and sumologic-syslog() destinations send log messages to Sumo Logic, a cloud-based log management and security analytics service.

Using the sumologic-http() destination, you can send data to the Sumo Logic service by utilizing a Hosted Collector hosted by Sumo Logic.

For more information about the sumologic-http() destination, see sumologic-syslog().

Sending data using the sumologic-http() destination

Example: Using the sumologic-http() destination

The following example sends every log from the system() source to your Sumo Logic account.

   log {
      source { system(); };
    
      destination {
        sumologic-http(
          collector("UNIQUE-HTTP-COLLECTOR-CODE-AS-PROVIDED-BY-sumologic")
          deployment("ENDPOINT")
          tls(peer-verify(yes) ca-dir('/etc/syslog-ng/ca.d'))
        );
      };
    };