SumoLogic / sumologic-otel-collector

Sumo Logic Distribution for OpenTelemetry Collector
Apache License 2.0
43 stars 39 forks source link

Replace syslog exporter with syslog exporter from opentelemetry-collector-contrib #1200

Closed kasia-kujawa closed 11 months ago

kasia-kujawa commented 1 year ago

Syslog exporter which is in this repository should be replaced with syslog exporter from opentelemetry-collector-contrib.

Configuration options in syslog exporter from opentelemetry-collector-contrib are different and slightly different code.

syslog exporter from opentelemetry-collector-contrib has development stability, to move this exporter to alpha following tasks needs to be done:

kasia-kujawa commented 1 year ago

Example configuration for sumologic version of syslog exporter:

  syslog:
    protocol: tcp
    port: 514
    endpoint: 127.0.0.1
    format: rfc5424
    tls:
      ca_file: ca.pem
      cert_file: cert.pem
      key_file: key.pem

Example configuration for upstream version of syslog exporter:

  syslog:
    network: tcp
    port: 514
    endpoint: 127.0.0.1
    protocol: rfc5424
    tls:
      ca_file: ca.pem
      cert_file: cert.pem
      key_file:  key.pem

so to switch to upstream version of syslog exporter it is necessary to replace:

ref: https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/19647#discussion_r1154504859

kasia-kujawa commented 1 year ago

Syslog exporter will be available in v0.89 release of opentelemetry-collector-contrib, related pull request: https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/28902