diff --git a/datadog_checks_base/datadog_checks/base/utils/db/transform.py b/datadog_checks_base/datadog_checks/base/utils/db/transform.py index 019fb0f1ef863..0c4d82cec27d8 100644 --- a/datadog_checks_base/datadog_checks/base/utils/db/transform.py +++ b/datadog_checks_base/datadog_checks/base/utils/db/transform.py @@ -492,7 +492,7 @@ def get_log(transformers, name, **modifiers): """ Send a log. - The required modifiers are `attributes` and `cursor`. + The only required modifier is `attributes`. For example, if you have this configuration: diff --git a/docs/developer/base/databases.md b/docs/developer/base/databases.md index 11455ab84e09f..dcc3c6a5f0b34 100644 --- a/docs/developer/base/databases.md +++ b/docs/developer/base/databases.md @@ -123,3 +123,10 @@ the metric `foo.current` will be sent as a gauge with the value of `foo.bar`. options: show_root_heading: false show_root_toc_entry: false + +#### log + +::: datadog_checks.base.utils.db.transform.get_log + options: + show_root_heading: false + show_root_toc_entry: false