# Syslog using OpenTelemetry

Copy as Markdown[Open in ChatGPT](https://chatgpt.com/?q=Read%20https%3A%2F%2Fdocs-docusaurus.kinsta.page%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%2Fdocs-docusaurus.kinsta.page%2Fintegrations%2Fsyslog%2Fsyslog-using-opentelemetry.md%20and%20help%20me%20with%20my%20question%20about%20this%20Coralogix%20documentation%20page.)

This tutorial demonstrates how to use custom syslog to send your logs to Coralogix using [OpenTelemetry](https://docs-docusaurus.kinsta.page/opentelemetry/getting-started/.md).

## Overview[​](#overview "Direct link to Overview")

Syslog is a standard for message logging. It allows separation of the software that generates messages, the system that stores them, and the software that reports and analyzes them. Each message is labeled with a facility code, indicating the type of system generating the message, and is assigned a severity level.

When there is no support for custom syslog, an intermediate server is required in order to send the data to the Coralogix account.

## Prerequisites[​](#prerequisites "Direct link to Prerequisites")

* Server to install [OpenTelemetry](https://docs-docusaurus.kinsta.page/opentelemetry/getting-started/.md)

* Static public IP allocated to the server for initial configuration

## Deployment[​](#deployment "Direct link to Deployment")

**STEP 1**. **[Install](https://opentelemetry.io/docs/collector/getting-started/)** OpenTelemetry on your server.

**STEP 2**. Create a configure file.

```
receivers:

  syslog:

    tcp:

      listen_address: "0.0.0.0:514"

    protocol: rfc5424

    operators:

      - type: syslog_parser

        protocol: <**message_format>**

        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 ]
```

Replace the following values.

| Value             | Description                                                                                                                                                                             |
| ----------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| applicationName   | [Application name](https://docs-docusaurus.kinsta.page/user-guides/account-management/account-settings/application-and-subsystem-names/.md) to be displayed in your Coralogix dashboard |
| subsystemName     | [Subsystem name](https://docs-docusaurus.kinsta.page/user-guides/account-management/account-settings/application-and-subsystem-names/.md) to be displayed in your Coralogix dashboard   |
| coralogix\_domain | Your [Coralogix domain](https://docs-docusaurus.kinsta.page/user-guides/account-management/account-settings/coralogix-domain/.md)                                                       |
| private\_key      | Your [Coralogix Send-Your-Data API key](https://docs-docusaurus.kinsta.page/user-guides/account-management/api-keys/send-your-data-api-key/.md)                                         |
| message\_format   | The syslog message format ( rfc3164/rfc5424 )                                                                                                                                           |

**Notes**:

* `port 514` is the default port for Syslog.

* To change to this port, modify the OpenTelemetry configuration should be changed accordingly.

**STEP 3**. Save the configure file.

## Additional Resources[​](#additional-resources "Direct link to Additional Resources")

|               |                                                                              |
| ------------- | ---------------------------------------------------------------------------- |
| Documentation | [Syslog](https://docs-docusaurus.kinsta.page/integrations/syslog/syslog/.md) |
