# Syslog using OpenTelemetry

Copy as Markdown[Open in ChatGPT](https://chatgpt.com/?q=Read%20https%3A%2F%2Fcoralogix.com%2Fdocs%2Fintegrations%2Fsyslog%2Fsyslog-using-opentelemetry.md%20and%20help%20me%20with%20my%20question%20about%20this%20Coralogix%20documentation%20page.)[Open in Claude](https://claude.ai/new?q=Read%20https%3A%2F%2Fcoralogix.com%2Fdocs%2Fintegrations%2Fsyslog%2Fsyslog-using-opentelemetry.md%20and%20help%20me%20with%20my%20question%20about%20this%20Coralogix%20documentation%20page.)

Syslog separates the software that emits a message from the system that stores it, labelling each message with a facility code and a severity level. When a source cannot be pointed at a custom endpoint, you need an intermediate server: an OpenTelemetry Collector that listens for syslog, parses it, and forwards it to Coralogix.

## What you need [​](#what-you-need- "Direct link to what-you-need-")

* A server to run [OpenTelemetry](https://coralogix.com/docs/opentelemetry/getting-started.md) on, with a static public IP for the initial configuration.
* A Coralogix [Send-Your-Data API key](https://coralogix.com/docs/user-guides/account-management/api-keys/send-your-data-api-key.md).
* Your [Coralogix domain](https://coralogix.com/docs/user-guides/account-management/account-settings/coralogix-domain.md).

## Deploy the Collector [​](#deploy-the-collector- "Direct link to deploy-the-collector-")

1

<!-- -->

.

Install OpenTelemetry

Follow the [Collector installation guide](https://opentelemetry.io/docs/collector/getting-started/) on your server.

2

<!-- -->

.

Write the configuration

Create the Collector configuration file, substituting the values from the table below.

```
receivers:

  syslog:

    tcp:

      listen_address: "0.0.0.0:514"

    protocol: rfc5424

    operators:

      - type: syslog_parser

        protocol: rfc5424

        parse_from: body

        parse_to: body

      - type: remove

        field: attributes

exporters:

  coralogix:

    domain: "eu2.coralogix.com"

    private_key: "private_key"

    application_name: "applicationName"

    subsystem_name: "subsystemName"

    timeout: 30s

service:

  pipelines:

    logs:

      receivers: [ syslog ]

      exporters: [ coralogix ]
```

| Value              | What to enter                                                                                                                                                       |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `application_name` | [Application name](https://coralogix.com/docs/user-guides/account-management/account-settings/application-and-subsystem-names.md) shown in your Coralogix dashboard |
| `subsystem_name`   | [Subsystem name](https://coralogix.com/docs/user-guides/account-management/account-settings/application-and-subsystem-names.md) shown in your Coralogix dashboard   |
| `domain`           | Your [Coralogix domain](https://coralogix.com/docs/user-guides/account-management/account-settings/coralogix-domain.md)                                             |
| `private_key`      | Your [Send-Your-Data API key](https://coralogix.com/docs/user-guides/account-management/api-keys/send-your-data-api-key.md)                                         |
| `protocol`         | The syslog message format your source sends. `rfc3164` or `rfc5424`                                                                                                 |

3

<!-- -->

.

Save and start the Collector

Save the configuration file and start the Collector.

Note

Port 514 is the syslog default. If you listen on a different port, change `listen_address` to match and open that port on the server.

## Related resources[​](#related-resources "Direct link to Related resources")

[Syslog](https://coralogix.com/docs/integrations/syslog/syslog.md)[OpenTelemetry Collector](https://coralogix.com/docs/opentelemetry/getting-started.md)[Send-Your-Data API key](https://coralogix.com/docs/user-guides/account-management/api-keys/send-your-data-api-key.md)
