Migrate from Sumo Logic
Move new logs from Sumo Logic to your Logit.io Logs stack. Keep your OpenTelemetry Collector if it can export to Hosted OpenTelemetry. If you run the Sumo Logic Installed Collector, replace its sources one at a time.
What carries over
| Sumo Logic | Logit.io |
|---|---|
otelcol-sumo or another OpenTelemetry Collector | Keep supported receivers and processors. Change the exporter. |
| Installed Collector sources | Inventory the inputs and replace the Installed Collector. |
| Source categories, hosts and names | Recreate the values you use in searches as attributes or fields. Check how they appear in Discover. |
| Metrics and traces | Send with OpenTelemetry. They are stored only if the stack has the Metrics or APM add-on. This guide moves logs. |
| Saved searches, dashboards and monitors | Rebuild in OpenSearch Dashboards and Logit.io alerts. |
Option 1: repoint the OpenTelemetry Collector
Check that Hosted OpenTelemetry is switched on and copy the connection details from the Logs stack's Endpoints page. Use Basic auth with the username {stackId}-otel and the Hosted OpenTelemetry API key as the password.
-
Check that your Collector distribution includes the
otlp_httpexporter (namedotlphttpin older versions) and thebasicauthextension. If yourotelcol-sumobuild lacks either component, useotelcol-contrib. Check that the new build includes each receiver and processor you intend to keep before moving the configuration. -
Merge the following into your existing
extensionsandexportersmaps. Replace{stackId}and<your-hosted-otel-api-key>with your stack's values.config.yamlextensions: basicauth/logit: client_auth: username: "{stackId}-otel" password: "<your-hosted-otel-api-key>" exporters: otlp_http/logit: endpoint: https://{stackId}-otel.logit.io auth: authenticator: basicauth/logit -
Add
basicauth/logittoservice.extensions. In your logs pipeline underservice.pipelines, addotlp_http/logittoexporters. Keep the receivers and processors that collect and parse your logs. -
The exporter sends
http/protobufover HTTPS using the base URL shown above. Validate the merged configuration using the binary you plan to run. For Contrib, run the following.otelcol-contrib validate --config=config.yaml -
Restart one Collector. Generate a new log from one of its inputs, then check the Collector for export errors. After the logs match, remove the Sumo Logic exporter and any credentials or collector endpoint used solely by that exporter.
List both exporters in the logs pipeline during a comparison if your build supports both. If you switch Collector builds, review any Sumo-specific processors and connectors and recreate the transforms you need. Check for missing fields before you roll out.
Option 2: replace the Installed Collector
List each source configured for the Installed Collector. Record the paths or channels it reads, any multiline rules and the source categories your searches use. Then choose the replacement for each source.
| Installed Collector source | Replace with |
|---|---|
| Local file | Use filelog in the OpenTelemetry Collector. Set include to match the paths and preserve multiline handling where needed. |
| Windows event logs | Use the OpenTelemetry Collector's Windows event log receivers or Winlogbeat. |
| Syslog | Route messages through rsyslog or syslog-ng to your stack's syslog TLS port. |
| Kubernetes pod logs | Collect them from the nodes with the OpenTelemetry Collector for Kubernetes. |
- Install the replacement on one host. Give it read access to the same files or channels. For syslog, choose a test sender that can forward to the new destination.
- Recreate source category or host values your queries depend on. For a file source using OpenTelemetry, the server log files guide shows how to add a resource attribute such as
service.name. - Choose where to begin reading each source. The new shipper has its own read position. The OpenTelemetry examples start at the end, so generate a new event after it starts.
- Compare the same event in both systems. When the counts and fields match, disable that source on the Installed Collector. Repeat for the other sources and remove the collector after its last source moves.
If your team relies on Sumo Logic parsing rules, check which fields came from the raw log and which were added during ingestion. Rebuild the rules in your collector or with Logstash filters.
For a syslog source that gathers logs from several devices, keep the devices pointed at your local relay while you test the new outbound destination. Check that logs from each device retain its hostname so you can still search by device in Discover.
If you move log collection and keep a separate metrics pipeline, check that disabling the old log sources leaves your metrics flowing before you remove any shared collector configuration.
Check the cutover
- In OpenSearch Dashboards, open Discover and check for recent logs from each source, host and service.
- Compare counts for the same time window. Test a file rotation or a multiline event if the source uses either.
- Verify timestamps, severity and any fields that replace source metadata such as
_sourceCategory. - Rebuild and test the searches, dashboards and alerts that depend on those fields.
- Remove leftover Sumo Logic endpoints and credentials from shippers after the last source has moved.
Not covered
- Pointing the Installed Collector's Sumo Logic protocol directly at Logit.io. Replace the collector sources using the routes above.
- Transferring Installed Collector read positions.
- Moving historical logs, saved searches or dashboards from Sumo Logic.
If you need help planning a migration, contact support via live chat.