mirror of
https://github.com/Noratrieb/vps.git
synced 2026-07-12 16:27:46 +02:00
add victoria logs, use both
This commit is contained in:
parent
b49a602213
commit
5a28c30d16
3 changed files with 22 additions and 1 deletions
|
|
@ -175,6 +175,7 @@ in
|
|||
};
|
||||
clients = [
|
||||
{ url = "http://loki.internal:3100/loki/api/v1/push"; }
|
||||
{ url = "http://loki.internal:9428/insert/loki/api/v1/push"; }
|
||||
];
|
||||
scrape_configs = [
|
||||
{
|
||||
|
|
@ -207,6 +208,10 @@ in
|
|||
};
|
||||
}];
|
||||
relabel_configs = [
|
||||
{
|
||||
source_labels = [ "msg" ];
|
||||
target_label = "_msg";
|
||||
}
|
||||
{
|
||||
source_labels = [ "__journal__systemd_unit" ];
|
||||
target_label = "unit";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue