Service Remapper

이 페이지는 아직 한국어로 제공되지 않습니다. 번역 작업 중입니다.
현재 번역 프로젝트에 대한 질문이나 피드백이 있으신 경우 언제든지 연락주시기 바랍니다.

Overview

The service remapper processor assigns one or more attributes to your logs as the official service.

Note: If multiple service remapper processors are applied to a given log within the pipeline, only the first one (according to the pipeline’s order) is taken into account.

Use cases

The Service Remapper is typically used to:

  • Select another attribute as the service to be used for the log event, if it doesn’t match the default service attribute. For example, logs coming from Microsoft 365 use Workload as the service attribute. You can use a Service Remapper to set that attribute as the service.
  • Select an attribute after grok parsing. For example, Bitdefender logs contain the service in the message attribute that first needs to be parsed.

API

Use the Datadog Log Pipeline API endpoint with the following log service remapper JSON payload:

{
  "type": "service-remapper",
  "name": "Define <SOURCE_ATTRIBUTE> as the official log service",
  "is_enabled": true,
  "sources": ["<SOURCE_ATTRIBUTE>"]
}
ParameterTypeRequiredDescription
typeStringYesType of the processor.
nameStringNoName of the processor.
is_enabledBooleanNoIf the processor is enabled or not. Default: false.
sourcesArray of stringsYesArray of source attributes.

Further reading

추가적인 유용한 설명서, 링크 및 기사: