Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
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
  • Loading branch information
ollie-har authored Mar 6, 2024
1 parent 5132145 commit 9d2b1ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions journald/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ If your journal is located elsewhere, add a `path` parameter with the correspond

You can filter specific _system-level_ units by using these parameters:

- `include_units`: Includes all system-level units specified.
- `include_units`: Includes all system-level units specified. To collect

This comment has been minimized.

Copy link
@ollie-har

ollie-har Mar 6, 2024

Author Contributor

Need to remove "To collect".

- `exclude_units`: Excludes all system-level units specified.


Expand All @@ -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. Further note that `*` will not work with `include_units`, by default if no units for both System and User, and no matches are defined, all journal logs will be collected.

Example:

Expand Down

0 comments on commit 9d2b1ea

Please sign in to comment.