Skip to content

Commit

Permalink
feat(syslogexporter)!: replace syslog exporter with syslog exporter f…
Browse files Browse the repository at this point in the history
…rom opentelemetry-collector-contrib
  • Loading branch information
kasia-kujawa committed Nov 21, 2023
1 parent d808404 commit 6a58780
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 11 deletions.
1 change: 1 addition & 0 deletions .changelog/1341.breaking.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
feat(syslogexporter)!: replace syslog exporter with syslog exporter from opentelemetry-collector-contrib
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ In order to learn more, pleasee see [purpose of Sumo Logic Distribution for Open
## Supported OS and architectures

| Linux | MacOS | Windows |
| ----------------------------- | ----------------------------- | --------------------------- |
|-------------------------------|-------------------------------|-----------------------------|
| [amd64 (x86_64)][linux_amd64] | [amd64 (x86_64)][mac_amd64] | [amd64 (x86_64)][win_amd64] |
| [arm64][linux_arm64] | [arm64 (Apple M1)][mac_arm64] | |

Expand All @@ -66,19 +66,19 @@ The rest of the components in the table are pure upstream OpenTelemetry componen
The ⚠️ ~~strikethrough~~ ⚠️ components are deprecated.

| Receivers | Processors | Exporters | Extensions | Connectors |
| :------------------------------------------------------: | :----------------------------------------------------------: | :------------------------------------: | :------------------------------------------: | :-----------------------------------: |
|:--------------------------------------------------------:|:------------------------------------------------------------:|:--------------------------------------:|:--------------------------------------------:|:-------------------------------------:|
| [active_directory_ds][activedirectorydsreceiver] | [attributes][attributesprocessor] | [awss3][awss3exporter] | [asapclient][asapauthextension] | [forward][forwardconnector] |
| [`active_directory_inv`][activedirectoryinvreceiver] | [batch][batchprocessor] | [carbon][carbonexporter] | [awsproxy][awsproxy] | [count][countconnector] |
| [aerospike][aerospikereceiver] | [`cascading_filter`][cascadingfilterprocessor] | [debug][debugexporter] | [basicauth][basicauthextension] | [routing][routingconnector] |
| [apache][apachereceiver] | [cumulativetodelta][cumulativetodeltaprocessor] | [file][fileexporter] | [bearertokenauth][bearertokenauthextension] | [servicegraph][servicegraphconnector] |
| [awscloudwatch][awscloudwatchreceiver] | [deltatorate][deltatorateprocessor] | [kafka][kafkaexporter] | [db_storage][dbstorage] | [spanmetrics][spanmetricsconnector] |
| [awscontainerinsight][awscontainerinsightreceiver] | [experimental_metricsgeneration][metricsgenerationprocessor] | [loadbalancing][loadbalancingexporter] | [docker_observer][dockerobserver] | |
| [awsecscontainermetrics][awsecscontainermetricsreceiver] | [filter][filterprocessor] | ⚠️ ~~[logging][loggingexporter]~~ ⚠️ | [ecs_observer][ecsobserver] | |
| [awsecscontainermetrics][awsecscontainermetricsreceiver] | [filter][filterprocessor] | ⚠️ ~~[logging][loggingexporter]~~ ⚠️ | [ecs_observer][ecsobserver] | |
| [awsfirehose][awsfirehosereceiver] | [groupbyattrs][groupbyattrsprocessor] | [otlp][otlpexporter] | [ecs_task_observer][ecstaskobserver] | |
| [awsxray][awsxrayreceiver] | [groupbytrace][groupbytraceprocessor] | [otlphttp][otlphttpexporter] | [file_storage][filestorage] | |
| [azureeventhub][azureeventhubreceiver] | [`k8s_tagger`][k8sprocessor] | [prometheus][prometheusexporter] | [headerssetter][headerssetterextension] | |
| [bigip][bigipreceiver] | [k8sattributes][k8sattributesprocessor] | [`sumologic`][sumologicexporter] | [health_check][healthcheckextension] | |
| [carbon][carbonreceiver] | [logstransform][logstransformprocessor] | [`syslog`][syslogexporter] | [host_observer][hostobserver] | |
| [carbon][carbonreceiver] | [logstransform][logstransformprocessor] | [syslog][syslogexporter] | [host_observer][hostobserver] | |
| [chrony][chronyreceiver] | [memory_limiter][memorylimiterprocessor] | | [http_forwarder][httpforwarder] | |
| [cloudflare][cloudflarereceiver] | [`metric_frequency`][metricfrequencyprocessor] | | [jaegerremotesampling][jaegerremotesampling] | |
| [cloudfoundry][cloudfoundryreceiver] | [metricstransform][metricstransformprocessor] | | [k8s_observer][k8sobserver] | |
Expand All @@ -89,12 +89,12 @@ The ⚠️ ~~strikethrough~~ ⚠️ components are deprecated.
| [elasticsearch][elasticsearchreceiver] | [resourcedetection][resourcedetectionprocessor] | | [sigv4auth][sigv4authextension] | |
| [expvar][expvarreceiver] | [routing][routingprocessor] | | [`sumologic`][sumologicextension] | |
| [filelog][filelogreceiver] | [schema][schemaprocessor] | | [zpages][zpagesextension] | |
| [filestats][filestatsreceiver] | ⚠️ ~~[servicegraph][servicegraphprocessor]~~ ⚠️ | | | |
| [filestats][filestatsreceiver] | ⚠️ ~~[servicegraph][servicegraphprocessor]~~ ⚠️ | | | |
| [flinkmetrics][flinkmetricsreceiver] | [`source`][sourceprocessor] | | | |
| [fluentforward][fluentforwardreceiver] | [span][spanprocessor] | | | |
| [googlecloudpubsub][googlecloudpubsubreceiver] | ⚠️ ~~[spanmetrics][spanmetricsprocessor]~~ ⚠️ | | | |
| [googlecloudpubsub][googlecloudpubsubreceiver] | ⚠️ ~~[spanmetrics][spanmetricsprocessor]~~ ⚠️ | | | |
| [googlecloudspanner][googlecloudspannerreceiver] | [sumologic][sumologicprocessor] | | | |
| [haproxy][haproxyreceiver] | ⚠️ ~~[`sumologic_schema`][sumologicschemaprocessor]~~ ⚠️ | | | |
| [haproxy][haproxyreceiver] | ⚠️ ~~[`sumologic_schema`][sumologicschemaprocessor]~~ ⚠️ | | | |
| [hostmetrics][hostmetricsreceiver] | [`sumologic_syslog`][sumologicsyslogprocessor] | | | |
| [httpcheck][httpcheckreceiver] | [tail_sampling][tailsamplingprocessor] | | | |
| [iis][iisreceiver] | [transform][transformprocessor] | | | |
Expand Down Expand Up @@ -284,7 +284,7 @@ The ⚠️ ~~strikethrough~~ ⚠️ components are deprecated.
[otlphttpexporter]: https://github.com/open-telemetry/opentelemetry-collector/tree/v0.89.0/exporter/otlphttpexporter
[prometheusexporter]: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/v0.89.0/exporter/prometheusexporter
[sumologicexporter]: ./pkg/exporter/sumologicexporter
[syslogexporter]: ./pkg/exporter/syslogexporter
[syslogexporter]: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/v0.89.0/exporter/syslogexporter

[asapauthextension]: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/v0.89.0/extension/asapauthextension
[awsproxy]: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/v0.89.0/extension/awsproxy
Expand Down
2 changes: 1 addition & 1 deletion docs/migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -2509,7 +2509,7 @@ Windows Active Directory Source is not supported by the OpenTelemetry Collector.
[network-semantic-convention]: https://github.com/open-telemetry/semantic-conventions/blob/cee22ec91448808ebcfa53df689c800c7171c9e1/docs/general/attributes.md#other-network-attributes
[sumologicextension]: ../pkg/extension/sumologicextension/README.md
[sumologicexporter]: ../pkg/exporter/sumologicexporter/README.md
[syslogexporter]: ../pkg/exporter/syslogexporter/README.md
[syslogexporter]: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/v0.89.0/exporter/syslogexporter/README.md
[user.properties]: https://help.sumologic.com/docs/send-data/installed-collectors/collector-installation-reference/user-properties
[proxy]: https://opentelemetry.io/docs/collector/configuration/#proxy-support
[common-parameters]: https://help.sumologic.com/docs/send-data/use-json-configure-sources#common-parameters-for-log-source-types
Expand Down
37 changes: 37 additions & 0 deletions docs/upgrading.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,43 @@
- [Removing unnecessary metadata using the resourceprocessor](#removing-unnecessary-metadata-using-the-resourceprocessor)
- [Moving record-level attributes used for metadata to the resource level](#moving-record-level-attributes-used-for-metadata-to-the-resource-level)

## Upgrading to v0.90.0-sumo-0

### Change configuration for `syslogexporter`

To migrate, change keys in configuration for `syslogexporter`, replace:

- `protocol` key with `network` key
- `format` key with `protocol`

For example, given the following configuration:

```yaml
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
```
change it to:
```yaml
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
```
## Upgrading to v0.89.0-sumo-0
### `remoteobserver` processor: renamed to `remotetap` processor
Expand Down
3 changes: 1 addition & 2 deletions otelcolbuilder/.otelcol-builder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ exporters:
# Exporters with non-upstreamed changes:
- gomod: github.com/SumoLogic/sumologic-otel-collector/pkg/exporter/sumologicexporter v0.0.0-00010101000000-000000000000
path: ./../pkg/exporter/sumologicexporter
- gomod: github.com/SumoLogic/sumologic-otel-collector/pkg/exporter/syslogexporter v0.0.0-00010101000000-000000000000
path: ./../pkg/exporter/syslogexporter

# Upstream exporters:

Expand All @@ -32,6 +30,7 @@ exporters:
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/kafkaexporter v0.89.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/loadbalancingexporter v0.89.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/prometheusexporter v0.89.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/syslogexporter v0.89.0

processors:
# Processors with non-upstreamed changes:
Expand Down

0 comments on commit 6a58780

Please sign in to comment.