Add job label to promtail journald logs
Some checks failed
Run nix flake check / flake-check (push) Failing after 4m51s
Some checks failed
Run nix flake check / flake-check (push) Failing after 4m51s
This commit is contained in:
parent
986e5643e1
commit
8545807dd8
@ -21,6 +21,9 @@
|
|||||||
job_name = "journal";
|
job_name = "journal";
|
||||||
journal = {
|
journal = {
|
||||||
json = true;
|
json = true;
|
||||||
|
labels = {
|
||||||
|
job = "systemd-journal";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
relabel_configs = [
|
relabel_configs = [
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user