![]() |
VOOZH | about |
Logs
Use Observability Pipelines’ Sumo Logic Hosted Collector source to receive logs sent to your Sumo Logic Hosted Collector.
To use Observability Pipelines’ Sumo Logic source, you have applications sending data to Sumo Logic in the expected format.
To use Observability Pipelines’ Sumo Logic destination, you have a Hosted Sumo Logic Collector with a HTTP Logs source, and the following information available:
0.0.0.0:80.See Configure HTTP Logs Source on Sumo Logic for more information.
Set up this source when you set up a pipeline. You can set up a pipeline in the UI, using the API, or with Terraform. The instructions in this section are for setting up the source in the UI.
DD_OP_. For example, if you entered PASSWORD_1 for a password identifier, the environment variable for that password is DD_OP_PASSWORD_1.After you select the Sumo Logic source in the pipeline UI, enter the identifier for your Sumo Logic address. If you leave it blank, the default is used.
In the Decoding dropdown menu, select whether your input format is raw Bytes, JSON, Graylog Extended Log Format (Gelf), or Syslog. If no decoding is selected, the decoding defaults to JSON.
These are the defaults used for secret identifiers and environment variables.
0.0.0.0:80., that your Observability Pipelines Worker listens on to receive logs originally intended for the Sumo Logic HTTP Source.SOURCE_SUMO_LOGIC_ADDRESS.0.0.0.0:80./receiver/v1/http/ path is automatically appended to the endpoint.DD_OP_SOURCE_SUMO_LOGIC_ADDRESS.After you install the Observability Pipelines Worker and deploy the configuration, the Worker exposes HTTP endpoints that uses the Sumo Logic HTTP Source API.
To send logs to your Sumo Logic HTTP Source, you must point your existing logs upstream to the Worker:
curl -v -X POST -T [local_file_name] http://<OPW_HOST>/receiver/v1/http/<UNIQUE_HTTP_COLLECTOR_CODE>
<OPW_HOST> is the IP/URL of the host (or load balancer) associated with the Observability Pipelines Worker. For CloudFormation installs, the LoadBalancerDNS CloudFormation output has the correct URL to use. For Kubernetes installs, the internal DNS record of the Observability Pipelines Worker service can be used, such as opw-observability-pipelines-worker.default.svc.cluster.local.
<UNIQUE_HTTP_COLLECTOR_CODE> is the string that follows the last forward slash (/) in the upload URL for the HTTP source that you provided in the Install the Observability Pipelines Worker step.
At this point, your logs should be going to the Worker, processed by the pipeline, and delivered to the configured destination.
| |