---
title: "sumologic-syslog()"
url: "https://axoflow.com/docs/axosyslog-core/4.28/chapter-destinations/destination-sumologic-intro/destination-sumologic-syslog/"
last_modified: "2026-10-02T10:40:42+02:00"
---

> For the complete documentation index, see [llms.txt](https://axoflow.com/docs/axosyslog-core/4.28/llms.txt).

# sumologic-syslog()

The `sumologic-http()` and `sumologic-syslog()` destinations send log messages to [Sumo Logic](https://www.sumologic.com/), a cloud-based log management and security analytics service.

Using the `sumologic-syslog()` destination, you can send data (both in JSON and in non-JSON format) to the Sumo Logic service.

For the list of options, see [sumologic-syslog() destination options](https://axoflow.com/docs/axosyslog-core/4.28/chapter-destinations/destination-sumologic-intro/destination-sumologic-options/destination-sumologic-options-syslog/index.md).

## Sending data using the sumologic-syslog() destination

### Example: Sending data using the sumologic-syslog() destination

The following example illustrates how you can use the `sumologic-syslog()` destination to send data to your Sumo Logic account.

```shell
   log {
      source { system(); };

      destination{
        sumologic-syslog(token("USER-TOKEN-AS-PROVIDED-BY-sumologic")
          deployment("ENDPOINT")
          tls(peer-verify(required-trusted) ca-dir('/etc/syslog-ng/ca.d'))
        );
    };
    };
```

## Sending JSON data using the sumologic-syslog destination

### Example: Sending data using the sumologic-syslog() destination

The following example illustrates how you can use the `sumologic-syslog()` destination to send JSON data to your Sumo Logic account.

```shell
   log {
      source{ system(); };

      destination{
        sumologic-syslog(token("USER-TOKEN-AS-PROVIDED-BY-sumologic")
          deployment("ENDPOINT")
          tls(peer-verify(required-trusted) ca-dir('/etc/syslog-ng/ca.d'))
          template("$(format-json --scope all-nv-pairs)")
        );
      };
    };
```

Last modified October 2, 2026: [Link fixes (7fdc8919)](https://github.com/axoflow/axosyslog-core-docs/commit/7fdc8919b400b6e9fa5325633de8196e63c9c606)
