diff --git a/kube/deploy/core/monitoring/vector/app/config/fortigate.yaml b/kube/deploy/core/monitoring/vector/app/config/fortigate.yaml index cd99f8fb..74a00e42 100644 --- a/kube/deploy/core/monitoring/vector/app/config/fortigate.yaml +++ b/kube/deploy/core/monitoring/vector/app/config/fortigate.yaml @@ -37,14 +37,14 @@ transforms: - type: counter field: subtype name: "{{ subtype }}" - namespace: "fortigate_{{ fortigate }}_{{ type }}" + namespace: "fortigate_{{ fortigate }}_{{ vd }}_{{ type }}" tags: "*": "{{ . }}" sinks: vlogs: inputs: [fortigate-parse-message] type: http - uri: http://victoria-logs-victoria-logs-single-server.monitoring.svc.cluster.local:9428/insert/jsonline?_stream_fields=host,type,subtype,vd&_msg_field=message&_time_field=date + uri: http://victoria-logs-victoria-logs-single-server.monitoring.svc.cluster.local:9428/insert/jsonline?_stream_fields=fortigate,type,subtype,vd&_msg_field=message&_time_field=date request: headers: AccountID: "51401" diff --git a/kube/deploy/core/monitoring/victoria/cluster/vmsingle.yaml b/kube/deploy/core/monitoring/victoria/cluster/vmsingle.yaml index 0a4a906e..52d9d93c 100644 --- a/kube/deploy/core/monitoring/victoria/cluster/vmsingle.yaml +++ b/kube/deploy/core/monitoring/victoria/cluster/vmsingle.yaml @@ -47,7 +47,7 @@ spec: retentionPeriod: 2d extraArgs: dedup.minScrapeInterval: 60s - maxLabelsPerTimeseries: "40" + maxLabelsPerTimeseries: "60" search.minStalenessInterval: 5m storageDataPath: &path /vmdata vmalert.proxyURL: http://vmalert-victoria.monitoring.svc.cluster.local.:8080