---
title: ログパイプライン
description: パイプラインとプロセッサは受信ログを解析して変換し、クエリしやすい構造化属性にします。
breadcrumbs: ドキュメント > API > ログパイプライン
---

> For the complete documentation index, see [llms.txt](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/llms.txt).

# ログパイプライン

パイプラインとプロセッサは受信ログを解析して変換し、クエリしやすい構造化属性にします。

- Web UI で現在設定されているパイプラインとプロセッサの一覧は[パイプライン設定ページ](https://app.datadoghq.com/logs/pipelines)を参照してください。

- プロセッサに関する API 情報は[プロセッサのドキュメント](https://docs.datadoghq.com/logs/log_configuration/processors.md?tab=api#lookup-processor)を参照してください。

- パイプラインの詳細は[パイプラインのドキュメント](https://docs.datadoghq.com/logs/log_configuration/pipelines.md)を参照してください。

**注:**

**Grok 解析ルールは JSON 出力に影響する場合があり、リクエストで使用する前に返却データの調整が必要になることがあります。**
たとえば、あるリクエストの戻り値を別のリクエストのボディに使用する際に、`\s` のような空白を表す正規表現を使用する解析ルールがある場合は、ボディデータ内のエスケープされた空白を `%{space}` に置き換える必要があります。

## [パイプライン順序を取得する](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/ja/api/latest/logs-pipelines/get-pipeline-order.md)

| Datadog site      | API endpoint                                                        |
| ----------------- | ------------------------------------------------------------------- |
| app.datadoghq.com | GET https://api.datadoghq.com/api/v1/logs/config/pipeline-order     |
| us3.datadoghq.com | GET https://api.us3.datadoghq.com/api/v1/logs/config/pipeline-order |
| us5.datadoghq.com | GET https://api.us5.datadoghq.com/api/v1/logs/config/pipeline-order |
| app.datadoghq.eu  | GET https://api.datadoghq.eu/api/v1/logs/config/pipeline-order      |
| ap1.datadoghq.com | GET https://api.ap1.datadoghq.com/api/v1/logs/config/pipeline-order |
| ap2.datadoghq.com | GET https://api.ap2.datadoghq.com/api/v1/logs/config/pipeline-order |
| uk1.datadoghq.com | GET https://api.uk1.datadoghq.com/api/v1/logs/config/pipeline-order |
| app.ddog-gov.com  | GET https://api.ddog-gov.com/api/v1/logs/config/pipeline-order      |
| us2.ddog-gov.com  | GET https://api.us2.ddog-gov.com/api/v1/logs/config/pipeline-order  |

## [パイプライン順序を更新する](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/ja/api/latest/logs-pipelines/update-pipeline-order.md)

| Datadog site      | API endpoint                                                        |
| ----------------- | ------------------------------------------------------------------- |
| app.datadoghq.com | PUT https://api.datadoghq.com/api/v1/logs/config/pipeline-order     |
| us3.datadoghq.com | PUT https://api.us3.datadoghq.com/api/v1/logs/config/pipeline-order |
| us5.datadoghq.com | PUT https://api.us5.datadoghq.com/api/v1/logs/config/pipeline-order |
| app.datadoghq.eu  | PUT https://api.datadoghq.eu/api/v1/logs/config/pipeline-order      |
| ap1.datadoghq.com | PUT https://api.ap1.datadoghq.com/api/v1/logs/config/pipeline-order |
| ap2.datadoghq.com | PUT https://api.ap2.datadoghq.com/api/v1/logs/config/pipeline-order |
| uk1.datadoghq.com | PUT https://api.uk1.datadoghq.com/api/v1/logs/config/pipeline-order |
| app.ddog-gov.com  | PUT https://api.ddog-gov.com/api/v1/logs/config/pipeline-order      |
| us2.ddog-gov.com  | PUT https://api.us2.ddog-gov.com/api/v1/logs/config/pipeline-order  |

## [すべてのパイプラインを取得する](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/ja/api/latest/logs-pipelines/get-all-pipelines.md)

| Datadog site      | API endpoint                                                   |
| ----------------- | -------------------------------------------------------------- |
| app.datadoghq.com | GET https://api.datadoghq.com/api/v1/logs/config/pipelines     |
| us3.datadoghq.com | GET https://api.us3.datadoghq.com/api/v1/logs/config/pipelines |
| us5.datadoghq.com | GET https://api.us5.datadoghq.com/api/v1/logs/config/pipelines |
| app.datadoghq.eu  | GET https://api.datadoghq.eu/api/v1/logs/config/pipelines      |
| ap1.datadoghq.com | GET https://api.ap1.datadoghq.com/api/v1/logs/config/pipelines |
| ap2.datadoghq.com | GET https://api.ap2.datadoghq.com/api/v1/logs/config/pipelines |
| uk1.datadoghq.com | GET https://api.uk1.datadoghq.com/api/v1/logs/config/pipelines |
| app.ddog-gov.com  | GET https://api.ddog-gov.com/api/v1/logs/config/pipelines      |
| us2.ddog-gov.com  | GET https://api.us2.ddog-gov.com/api/v1/logs/config/pipelines  |

## [パイプラインを作成する](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/ja/api/latest/logs-pipelines/create-a-pipeline.md)

| Datadog site      | API endpoint                                                    |
| ----------------- | --------------------------------------------------------------- |
| app.datadoghq.com | POST https://api.datadoghq.com/api/v1/logs/config/pipelines     |
| us3.datadoghq.com | POST https://api.us3.datadoghq.com/api/v1/logs/config/pipelines |
| us5.datadoghq.com | POST https://api.us5.datadoghq.com/api/v1/logs/config/pipelines |
| app.datadoghq.eu  | POST https://api.datadoghq.eu/api/v1/logs/config/pipelines      |
| ap1.datadoghq.com | POST https://api.ap1.datadoghq.com/api/v1/logs/config/pipelines |
| ap2.datadoghq.com | POST https://api.ap2.datadoghq.com/api/v1/logs/config/pipelines |
| uk1.datadoghq.com | POST https://api.uk1.datadoghq.com/api/v1/logs/config/pipelines |
| app.ddog-gov.com  | POST https://api.ddog-gov.com/api/v1/logs/config/pipelines      |
| us2.ddog-gov.com  | POST https://api.us2.ddog-gov.com/api/v1/logs/config/pipelines  |

## [パイプラインを取得する](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/ja/api/latest/logs-pipelines/get-a-pipeline.md)

| Datadog site      | API endpoint                                                                 |
| ----------------- | ---------------------------------------------------------------------------- |
| app.datadoghq.com | GET https://api.datadoghq.com/api/v1/logs/config/pipelines/{pipeline_id}     |
| us3.datadoghq.com | GET https://api.us3.datadoghq.com/api/v1/logs/config/pipelines/{pipeline_id} |
| us5.datadoghq.com | GET https://api.us5.datadoghq.com/api/v1/logs/config/pipelines/{pipeline_id} |
| app.datadoghq.eu  | GET https://api.datadoghq.eu/api/v1/logs/config/pipelines/{pipeline_id}      |
| ap1.datadoghq.com | GET https://api.ap1.datadoghq.com/api/v1/logs/config/pipelines/{pipeline_id} |
| ap2.datadoghq.com | GET https://api.ap2.datadoghq.com/api/v1/logs/config/pipelines/{pipeline_id} |
| uk1.datadoghq.com | GET https://api.uk1.datadoghq.com/api/v1/logs/config/pipelines/{pipeline_id} |
| app.ddog-gov.com  | GET https://api.ddog-gov.com/api/v1/logs/config/pipelines/{pipeline_id}      |
| us2.ddog-gov.com  | GET https://api.us2.ddog-gov.com/api/v1/logs/config/pipelines/{pipeline_id}  |

## [パイプラインを削除する](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/ja/api/latest/logs-pipelines/delete-a-pipeline.md)

| Datadog site      | API endpoint                                                                    |
| ----------------- | ------------------------------------------------------------------------------- |
| app.datadoghq.com | DELETE https://api.datadoghq.com/api/v1/logs/config/pipelines/{pipeline_id}     |
| us3.datadoghq.com | DELETE https://api.us3.datadoghq.com/api/v1/logs/config/pipelines/{pipeline_id} |
| us5.datadoghq.com | DELETE https://api.us5.datadoghq.com/api/v1/logs/config/pipelines/{pipeline_id} |
| app.datadoghq.eu  | DELETE https://api.datadoghq.eu/api/v1/logs/config/pipelines/{pipeline_id}      |
| ap1.datadoghq.com | DELETE https://api.ap1.datadoghq.com/api/v1/logs/config/pipelines/{pipeline_id} |
| ap2.datadoghq.com | DELETE https://api.ap2.datadoghq.com/api/v1/logs/config/pipelines/{pipeline_id} |
| uk1.datadoghq.com | DELETE https://api.uk1.datadoghq.com/api/v1/logs/config/pipelines/{pipeline_id} |
| app.ddog-gov.com  | DELETE https://api.ddog-gov.com/api/v1/logs/config/pipelines/{pipeline_id}      |
| us2.ddog-gov.com  | DELETE https://api.us2.ddog-gov.com/api/v1/logs/config/pipelines/{pipeline_id}  |

## [パイプラインを更新する](https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/ja/api/latest/logs-pipelines/update-a-pipeline.md)

| Datadog site      | API endpoint                                                                 |
| ----------------- | ---------------------------------------------------------------------------- |
| app.datadoghq.com | PUT https://api.datadoghq.com/api/v1/logs/config/pipelines/{pipeline_id}     |
| us3.datadoghq.com | PUT https://api.us3.datadoghq.com/api/v1/logs/config/pipelines/{pipeline_id} |
| us5.datadoghq.com | PUT https://api.us5.datadoghq.com/api/v1/logs/config/pipelines/{pipeline_id} |
| app.datadoghq.eu  | PUT https://api.datadoghq.eu/api/v1/logs/config/pipelines/{pipeline_id}      |
| ap1.datadoghq.com | PUT https://api.ap1.datadoghq.com/api/v1/logs/config/pipelines/{pipeline_id} |
| ap2.datadoghq.com | PUT https://api.ap2.datadoghq.com/api/v1/logs/config/pipelines/{pipeline_id} |
| uk1.datadoghq.com | PUT https://api.uk1.datadoghq.com/api/v1/logs/config/pipelines/{pipeline_id} |
| app.ddog-gov.com  | PUT https://api.ddog-gov.com/api/v1/logs/config/pipelines/{pipeline_id}      |
| us2.ddog-gov.com  | PUT https://api.us2.ddog-gov.com/api/v1/logs/config/pipelines/{pipeline_id}  |
