I use alloy to transfer my iis logs stored on file to loki. when creating labels for records, it automatically adds a label named filename, which I don’t want.
local.file_match "local_iislog_files" {
path_targets = [{"__path__" = "D:/iis_logs/**/*.log"}]
sync_period = "5s"
}
loki.source.file "iislog_scrape" {
targets = local.file_match.local_iislog_files.targets
forward_to = [loki.process.process_iislogs.receiver]
}
how can I drop this automatically added label?