Skip to content

Commit

Permalink
clarify loki source file doesn't handle discovery (#4787)
Browse files Browse the repository at this point in the history
* clarify loki source file doesn't handle discovery

* Update docs/sources/flow/reference/components/loki.source.file.md

Co-authored-by: Clayton Cornell <[email protected]>

---------

Co-authored-by: Clayton Cornell <[email protected]>
(cherry picked from commit 883d569)
  • Loading branch information
joshuapare authored and grafanabot committed Aug 15, 2023
1 parent 08dbb42 commit ad18ffd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,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

0 comments on commit ad18ffd

Please sign in to comment.