hello
loki.write "endpoint" {
endpoint {
url = "http://loki:3100/loki/api/v1/push"
}
external_labels = {}
}
local.file_match "radio_logs" {
path_targets = [{
__path__ = "/data/240621FH.log",
job = "varlogs",
}]
}
loki.source.file "files" {
targets = local.file_match.radio_logs.targets
forward_to = [loki.write.endpoint.receiver]
}
With this config, I am not seeing anything in Loki. What could I be missing?
Thanks