Sumo Logic Hosted Collector

Este producto no es compatible con el sitio Datadog seleccionado. ().
Disponible para:

Registros

Descripción general

Utilice la fuente Sumo Logic Hosted Collector de Observability Pipelines para recibir registros enviados a su Sumo Logic Hosted Collector.

Requisitos previos

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.

Configuración

Para la administración de secretos: solo ingrese el identificador para la dirección de Sumo Logic. No ingrese el valor real.

Configure esta fuente cuando configure una canalización. Puede configurar una canalización en la interfaz de usuario, utilizando la API o con Terraform. Las instrucciones de esta sección son para configurar la fuente en la interfaz de usuario.

Después de seleccionar la fuente Sumo Logic en la interfaz de usuario de la canalización, ingrese el identificador para su dirección de Sumo Logic. Si lo deja en blanco, se utiliza el predeterminado.

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.

Configuración opcional

En el menú desplegable Decoding, seleccione si su formato de entrada es raw Bytes, JSON, Graylog Extended Log Format (Gelf) o Syslog. Si no se selecciona ninguna decodificación, la decodificación predeterminada es JSON.

Valores predeterminados de Secret

These are the defaults used for secret identifiers and environment variables.

  • Identificador de la dirección de Sumo Logic:
    • Hace referencia a la dirección de enlace, como 0.0.0.0:80., en la que su Observability Pipelines Worker escucha para recibir registros destinados originalmente a la fuente HTTP de Sumo Logic.
    • El identificador predeterminado es 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.