From 6c06eaedcbae9e2c76ebd3288ce75c9f26957a22 Mon Sep 17 00:00:00 2001 From: Junaid Ali Date: Sat, 21 May 2016 16:06:28 +0500 Subject: [PATCH] Updated templates --- templates/kilo/00-pg.conf | 3 ++- templates/kilo/plumgrid.conf | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/templates/kilo/00-pg.conf b/templates/kilo/00-pg.conf index e744a27..ac09811 100644 --- a/templates/kilo/00-pg.conf +++ b/templates/kilo/00-pg.conf @@ -1,2 +1,3 @@ $template ls_json,"{{'{'}}{{'%'}}timestamp:::date-rfc3339,jsonf:@timestamp%,%source:::jsonf:@source_host%,%msg:::json%}" -:syslogtag,isequal,"pg:" @{{ opsvm_ip }}:6000;ls_json +if $syslogtag == 'pg:' and not ($msg contains 'dht_cli_') then @{{ opsvm_ip }}:6000;ls_json +:msg, contains, "VM Interface Stats" ~ diff --git a/templates/kilo/plumgrid.conf b/templates/kilo/plumgrid.conf index acb8e9b..f56f11f 100644 --- a/templates/kilo/plumgrid.conf +++ b/templates/kilo/plumgrid.conf @@ -5,6 +5,9 @@ label={{ label}} plumgrid_rsync_port=2222 plumgrid_rest_addr=0.0.0.0:9180 fabric_mode={{ fabric_mode }} +plumgrid_syslog_ng_ip={{ plumgrid_syslog_ng_ip }} +plumgrid_syslog_ng_port={{ plumgrid_syslog_ng_port }} +plumgrid_monitor_interval={{ plumgrid_monitor_interval }} start_plumgrid_iovisor=yes start_plumgrid=`/opt/pg/scripts/pg_is_director.sh $plumgrid_ip` location=