mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-15 13:55:20 +00:00
fix alloy
This commit is contained in:
parent
806db26f16
commit
d281523225
1 changed files with 1 additions and 10 deletions
|
|
@ -12,17 +12,8 @@ local.file_match "local_files" {
|
||||||
|
|
||||||
loki.source.file "log_scrape" {
|
loki.source.file "log_scrape" {
|
||||||
targets = local.file_match.local_files.targets
|
targets = local.file_match.local_files.targets
|
||||||
forward_to = [loki.process.filter_logs.receiver]
|
|
||||||
tail_from_end = true
|
|
||||||
}
|
|
||||||
|
|
||||||
loki.process "filter_logs" {
|
|
||||||
stage.drop {
|
|
||||||
source = ""
|
|
||||||
expression = ""
|
|
||||||
drop_counter_reason = "noisy"
|
|
||||||
}
|
|
||||||
forward_to = [loki.write.grafana_loki.receiver]
|
forward_to = [loki.write.grafana_loki.receiver]
|
||||||
|
tail_from_end = true
|
||||||
}
|
}
|
||||||
|
|
||||||
loki.write "grafana_loki" {
|
loki.write "grafana_loki" {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue