From cb2f4ac56f9ed307e94cd84755b249c05c18c6c6 Mon Sep 17 00:00:00 2001 From: Alex Demidoff Date: Mon, 28 Oct 2024 18:54:18 +0000 Subject: [PATCH] PMM-13391 add ignore_fields --- build/ansible/roles/victorialogs/files/promtail.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/ansible/roles/victorialogs/files/promtail.yml b/build/ansible/roles/victorialogs/files/promtail.yml index 54b3455161..d7cc3445c0 100644 --- a/build/ansible/roles/victorialogs/files/promtail.yml +++ b/build/ansible/roles/victorialogs/files/promtail.yml @@ -9,7 +9,7 @@ positions: filename: /tmp/positions.yaml clients: -- url: http://127.0.0.1:9428/insert/loki/api/v1/push?_stream_fields=instance,job,host&_msg_field=msg&_time_field=t +- url: http://127.0.0.1:9428/insert/loki/api/v1/push?_stream_fields=instance,job,host&_msg_field=msg&_time_field=t&ignore_fields=filename,stream scrape_configs: - job_name: nginx