Skip to content

pipeline: outputs: datadog: added documentation for site configuration field #2032

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions pipeline/outputs/datadog.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@
| `dd_tags` | Optional. The [tags](https://docs.datadoghq.com/tagging/) you want to assign to your logs in Datadog. If unset, Datadog will look for the tags in the [`ddtags` attribute](https://docs.datadoghq.com/api/latest/logs/#send-logs). | _none_ |
| `dd_message_key` | By default, the plugin searches for the key `log` and remaps the value to the key `message`. If the property is set, the plugin will search the property name key. | _none_ |
| `dd_hostname` | The host the emitted logs should be associated with. If unset, Datadog expects the host to be set with `host`, `hostname`, or `syslog.hostname` attributes. See [Datadog Logs preprocessor documentation](https://docs.datadoghq.com/logs/log_configuration/pipelines/?tab=host#preprocessing) for recognized attributes. | _none_ |
| workers | The number of [workers](../../administration/multithreading.md#outputs) to perform flush operations for this output. | `0` |
| header | Add additional arbitrary HTTP header key/value pair. Multiple headers can be set. | _none_ |
| `site` | Optional. The Datadog site to send logs to. Use `datadoghq.com` for US or `datadoghq.eu` for EU. If no value is specified, defaults to `datadoghq.com`. | `datadoghq.com` |

Check warning on line 31 in pipeline/outputs/datadog.md

View workflow job for this annotation

GitHub Actions / runner / vale

[vale] reported by reviewdog 🐶 [FluentBit.We] Try to avoid using first-person plural like 'US'. Raw Output: {"message": "[FluentBit.We] Try to avoid using first-person plural like 'US'.", "location": {"path": "pipeline/outputs/datadog.md", "range": {"start": {"line": 31, "column": 80}}}, "severity": "INFO"}
| `workers` | The number of [workers](../../administration/multithreading.md#outputs) to perform flush operations for this output. | `0` |
| `header` | Add additional arbitrary HTTP header key/value pair. Multiple headers can be set. | _none_ |

### Configuration file

Expand All @@ -48,6 +49,7 @@
tls: on
compress: gzip
apikey: <my-datadog-api-key>
site: datadoghq.com
dd_service: <my-app-service>
dd_source: <my-app-source>
dd_tags: team:logs,foo:bar
Expand All @@ -65,6 +67,7 @@
TLS on
compress gzip
apikey <my-datadog-api-key>
site datadoghq.com
dd_service <my-app-service>
dd_source <my-app-source>
dd_tags team:logs,foo:bar
Expand Down