Skip to content

Commit

Permalink
out_datadog: Update the descriptions of special field options #8751
Browse files Browse the repository at this point in the history
These options are useful when there is no attribute in the incoming log
that indicates the field to use for the `source` or `service`
attributes, but otherwise the backend will automatically look for both
in the incoming log attributes.

Ref: #8687

Signed-off-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>
  • Loading branch information
jszwedko committed May 15, 2024
1 parent 9aab2eb commit 1252ffa
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions plugins/out_datadog/datadog.c
Original file line number Diff line number Diff line change
Expand Up @@ -495,19 +495,24 @@ static struct flb_config_map config_map[] = {
{
FLB_CONFIG_MAP_STR, "dd_service", NULL,
0, FLB_TRUE, offsetof(struct flb_out_datadog, dd_service),
"The human readable name for your service generating the logs "
"- the name of your application or database."
"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 in Log Management "
"(by default it will look at the `service` and `syslog.appname` attributes)."
""
},
{
FLB_CONFIG_MAP_STR, "dd_source", NULL,
0, FLB_TRUE, offsetof(struct flb_out_datadog, dd_source),
"A human readable name for the underlying technology of your service. "
"For example, 'postgres' or 'nginx'."
"A human readable name for the underlying technology of your service "
"(e.g. 'postgres' or 'nginx'). If unset, Datadog will expect the source "
"to be set as the `ddsource` attribute."
},
{
FLB_CONFIG_MAP_STR, "dd_tags", NULL,
0, FLB_TRUE, offsetof(struct flb_out_datadog, dd_tags),
"The tags you want to assign to your logs in Datadog."
"The tags you want to assign to your logs in Datadog. If unset, Datadog "
"will expect the tags in the `ddtags` attribute."
},

{
Expand Down

0 comments on commit 1252ffa

Please sign in to comment.