Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clarify loki source file doesn't handle discovery #4787

Merged
merged 3 commits into from
Aug 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ v0.35.4 (2023-08-14)

- Fix issue where corrupt WAL segments lead to crash looping. (@tpaschalis)

- Clarify usage documentation surrounding `loki.source.file` (@joshuapare)

v0.35.3 (2023-08-09)
--------------------

Expand Down
4 changes: 4 additions & 0 deletions docs/sources/flow/reference/components/loki.source.file.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ title: loki.source.file
Multiple `loki.source.file` components can be specified by giving them
different labels.

{{% admonition type="note" %}}
`loki.source.file` does not handle file discovery. You can use `local.file_match` for file discovery. Refer to the [File Globbing](#file-globbing) example for more information.
{{% /admonition %}}

## Usage

```river
Expand Down