Skip to content

Commit

Permalink
Adding further information regarding include_units (#17069)
Browse files Browse the repository at this point in the history
* Update README.md

Motivation:
- Working on a customer case, we discovered that the following prevented log collection:
```
include_units: 
  - *
```

Supporting Documentation:
- https://github.com/DataDog/datadog-agent/blob/7.50.x/pkg/logs/tailers/journald/tailer.go#L116-L126

* Update README.md

Removed the "to collect"

* Update journald/README.md

Co-authored-by: cecilia saixue watt <[email protected]>

---------

Co-authored-by: Oliver Harrison <[email protected]>
Co-authored-by: cecilia saixue watt <[email protected]>
  • Loading branch information
3 people authored and marlon-merida committed Mar 11, 2024
1 parent 695f75b commit 57b00cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion journald/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ In Datadog Agent version `7.37.0`+, you can filter _user-level_ units by using t
- `include_user_units`: Includes all user-level units specified.
- `exclude_user_units`: Excludes all user-level units specified.

**Note**: Use the `*` wildcard in `exclude_units` or `exclude_user_units` to specify a particular Journald log.
**Note**: Use the `*` wildcard in `exclude_units` or `exclude_user_units` to specify a particular Journald log. The `*` wildcard does not work with `include_units`. By default, if there are no units for neither system nor user, and no matches are defined, all journal logs are collected.

Example:

Expand Down

0 comments on commit 57b00cb

Please sign in to comment.