From f14329f2cd4cbdfeff86b367ab4b6d4924de565e Mon Sep 17 00:00:00 2001 From: Boris Grozev Date: Mon, 9 Mar 2015 18:25:09 +0100 Subject: [PATCH] Adds instructions to enable logging. --- doc/influxdb.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 doc/influxdb.md diff --git a/doc/influxdb.md b/doc/influxdb.md new file mode 100644 index 000000000..a1ff7955f --- /dev/null +++ b/doc/influxdb.md @@ -0,0 +1,28 @@ +# Overview +Jitsi Meet supports logging to an [InfluxDB](http://influxdb.com/) database. + +# Configuration +The following needs to be done to enable this functionality. + +## Install InfluxDB +The details are outside the scope of the document, see http://influxdb.com/download/ . + +## Enable logging on for Jitsi Videobridge +Add the following properties to /usr/share/jitsi-videobridge/.sip-communicator/sip-communicator.properties. + +``` +org.jitsi.videobridge.log.INFLUX\_DB\_ENABLED=true +org.jitsi.videobridge.log.INFLUX\_URL\_BASE=http://influxdb.example.com:8086 +org.jitsi.videobridge.log.INFLUX\_DATABASE=jitsi_database +org.jitsi.videobridge.log.INFLUX\_USER=user +org.jitsi.videobridge.log.INFLUX\_PASS=pass +``` + +## Enable logging for Jicofo +Add the same properties as above to /usr/share/jitsi-videobridge/.sip-communicator/sip-communicator.properties. + +## Enable logging for Jitsi Meet itself +Change "logStats" to "true" in /etc/jitsi/meet/you-domain.config.js or the config.js file used in your installation. + +# User interface +You can explore the database using the [Jiloin](https://github.com/jitsi/jiloin) web interface.