From 2d55474511a5057015e77547c326120c1649c0b7 Mon Sep 17 00:00:00 2001 From: ahothan Date: Tue, 22 Aug 2017 17:41:16 -0700 Subject: NFVBENCH-6 Add support for sending logs to fluentd with fluentd client library Change-Id: I1bc01b26f9e43f78c169b5fcd26247debcfe31bf Signed-off-by: ahothan --- nfvbench/cfg.default.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'nfvbench/cfg.default.yaml') diff --git a/nfvbench/cfg.default.yaml b/nfvbench/cfg.default.yaml index dba7670..a082a8f 100644 --- a/nfvbench/cfg.default.yaml +++ b/nfvbench/cfg.default.yaml @@ -369,6 +369,20 @@ debug: false # Defaults to disabled log_file: +# When enabled, all logs will be sent to a fluentd server at the requested IP and port +# The fluentd "tag" and "label" fields for every message will be set to "nfvbench" +fluentd: + # by default (logging_tag is empty) nfvbench log messages are not sent to fluentd + # to enable logging to fluents, specify a valid fluentd tag name to be used for the + # log records + logging_tag: + + # IP address of the server, defaults to loopback + ip: 127.0.0.1 + + # port # to use, by default, use the default fluentd forward port + port: 24224 + # Module and class name of factory which will be used to provide classes dynamically for other components. factory_module: 'nfvbench.factory' factory_class: 'BasicFactory' -- cgit 1.2.3-korg