Sumo Logic Hosted Collector
This product is not supported for your selected
Datadog site. (
).
概要
Observability Pipelines の Sumo Logic Hosted Collector ソースを使用して、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:
- The bind address that your Observability Pipelines Worker will listen on to receive logs. For example,
0.0.0.0:80. - The URL of the Sumo Logic HTTP Logs Source that the Worker will send processed logs to. This URL is provided by Sumo Logic once you configure your hosted collector and set up an HTTP Logs and Metrics source.
See Configure HTTP Logs Source on Sumo Logic for more information.
セットアップ
シークレット管理を使用する場合は、Sumo Logic アドレスの識別子のみを入力してください。実際の値を入力しないでください。
パイプラインを設定する際に、このソースを設定します。UI、API、または Terraform を使用してパイプラインを設定できます。このセクションでは、UI でソースを設定するための手順を説明します。
パイプライン UI で Sumo Logic ソースを選択した後、Sumo Logic アドレスの識別子を入力します。空白のままにすると、デフォルトが使用されます。
If you enter secret identifiers and then choose to use environment variables, the environment variable is the identifier entered and prepended with DD_OP_. For example, if you entered PASSWORD_1 for a password identifier, the environment variable for that password is DD_OP_PASSWORD_1.
オプション設定
Decodingドロップダウンメニューで、入力形式が未加工の Bytes、JSON、Graylog Extended Log Format (Gelf)、または Syslog のいずれであるかを選択します。デコード方式を選択しない場合、デフォルトで JSON が使用されます。
シークレットのデフォルト
These are the defaults used for secret identifiers and environment variables.
- Sumo Logic アドレスの識別子:
- Sumo Logic HTTP Source に送信される予定だったログを受信するために、Observability Pipelines Worker がリッスンするバインドアドレス (
0.0.0.0:80. など) を参照します。 - デフォルトの識別子は
SOURCE_SUMO_LOGIC_ADDRESS です。
- Sumo Logic address:
- The bind address that your Observability Pipelines Worker listens on to receive logs originally intended for the Sumo Logic HTTP Source. For example,
0.0.0.0:80.
Note: /receiver/v1/http/ path is automatically appended to the endpoint. - The default environment variable is
DD_OP_SOURCE_SUMO_LOGIC_ADDRESS.
Send logs to the Observability Pipelines Worker over Sumo Logic HTTP Source
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.