Skip to content

Commit e48ccc8

Browse files
committed
out_datadog: Document dd_hostname configuration option
Added by fluent/fluent-bit#8988 Signed-off-by: Jesse Szwedko <[email protected]>
1 parent 397a33a commit e48ccc8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pipeline/outputs/datadog.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ Before you begin, you need a [Datadog account](https://app.datadoghq.com/signup)
2424
| dd_service | _Recommended_ - The human readable name for your service generating the logs (e.g. the name of your application or database). If unset, Datadog will look for the service using [Service Remapper](https://docs.datadoghq.com/logs/log_configuration/pipelines/?tab=service#service-attribute)." | |
2525
| dd_source | _Recommended_ - A human readable name for the underlying technology of your service (e.g. `postgres` or `nginx`). If unset, Datadog will look for the source in the [`ddsource` attribute](https://docs.datadoghq.com/logs/log_configuration/pipelines/?tab=source#source-attribute). | |
2626
| 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). | |
27-
| dd_message_key | By default, the plugin searches for the key 'log' and remap the value to the key 'message'. If the property is set, the plugin will search the property name key. | |
27+
| dd_message_key | By default, the plugin searches for the key 'log' and remap the value to the key 'message'. If the property is set, the plugin will search the property name key. | |
28+
| dd_hostname | The host that emitted logs should be associated with. If unset, Datadog will expect the host to be set as `host`, `hostname`, or `syslog.hostname` attributes. See Datadog Logs preprocessor documentation for up-to-date recognized attributes. | |
2829

2930
### Configuration File
3031

@@ -41,6 +42,7 @@ Get started quickly with this configuration file:
4142
dd_service <my-app-service>
4243
dd_source <my-app-source>
4344
dd_tags team:logs,foo:bar
45+
dd_hostname myhost
4446
```
4547

4648
## Troubleshooting

0 commit comments

Comments
 (0)