summaryrefslogtreecommitdiffstats
path: root/logsmanagement/stock_conf/logsmanagement.d/example_mqtt.conf
diff options
context:
space:
mode:
Diffstat (limited to 'logsmanagement/stock_conf/logsmanagement.d/example_mqtt.conf')
-rw-r--r--logsmanagement/stock_conf/logsmanagement.d/example_mqtt.conf31
1 files changed, 31 insertions, 0 deletions
diff --git a/logsmanagement/stock_conf/logsmanagement.d/example_mqtt.conf b/logsmanagement/stock_conf/logsmanagement.d/example_mqtt.conf
new file mode 100644
index 00000000..2481795d
--- /dev/null
+++ b/logsmanagement/stock_conf/logsmanagement.d/example_mqtt.conf
@@ -0,0 +1,31 @@
+[MQTT messages]
+ ## Example: Log collector that will create a server to listen for MQTT logs over a TCP connection.
+
+ ## Required settings
+ enabled = no
+ log type = flb_mqtt
+
+ ## Optional settings, common to all log source.
+ ## Uncomment to override global equivalents in netdata.conf.
+ # update every = 1
+ # update timeout = 10
+ # use log timestamp = auto
+ # circular buffer max size MiB = 64
+ # circular buffer drop logs if full = no
+ # compression acceleration = 1
+ # db mode = none
+ # circular buffer flush to db = 6
+ # disk space limit MiB = 500
+
+ ## Set up configuration specific to flb_mqtt
+ ## see also https://docs.fluentbit.io/manual/pipeline/inputs/mqtt
+ # listen = 0.0.0.0
+ # port = 1883
+
+ ## Submit structured log entries to the system journal
+ # submit logs to system journal = no
+
+ ## Charts to enable
+ # collected logs total chart enable = no
+ # collected logs rate chart enable = yes
+ topic chart = yes