8000 Databricks djm exclude logs docs (#29398) · DataDog/documentation@bdcf7eb · GitHub
[go: up one dir, main page]

Skip to content

Commit bdcf7eb

Browse files
warrierrurseberry
andauthored
Databricks djm exclude logs docs (#29398)
* databricks djm exclude logs docs Show users how to exclude all log collection from an individual cluster * Update content/en/data_jobs/databricks.md Co-authored-by: Ursula Chen <58821586+urseberry@users.noreply.github.com> * Update databricks.md --------- Co-authored-by: Ursula Chen <58821586+urseberry@users.noreply.github.com>
1 parent 0963a67 commit bdcf7eb

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

content/en/data_jobs/databricks.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,14 @@ In Datadog, view the [Data Jobs Monitoring][6] page to see a list of all your Da
229229

230230
## Advanced Configuration
231231

232+
### Filter log collection on clusters
233+
234+
#### Exclude all log collection from an individual cluster
235+
Configure the following environment variable in the Advanced Configuration section of your cluster in the Databricks UI or as a [Spark environment variable][18] in the Databricks API.
236+
```bash
237+
DD_LOGS_CONFIG_PROCESSING_RULES=[{\"type\": \"exclude_at_match\",\"name\": \"drop_all_logs\",\"pattern\": \".*\"}]
238+
```
239+
232240
### Tag spans at runtime
233241

234242
{{% djm-runtime-tagging %}}
@@ -291,3 +299,4 @@ If you are using [Databricks Private Connectivity][14], reach out to the Datadog
291299
[15]: https://www.datadoghq.com/support/
292300
[16]: https://docs.databricks.com/en/security/network/front-end/ip-access-list-workspace.html
293301
[17]: https://docs.databricks.com/aws/en/security/auth/entitlements#entitlements-overview
302+
[18]: https://docs.databricks.com/api/workspace/clusters/edit#spark_env_vars

0 commit comments

Comments
 (0)
0