[jdev] OpenSearch, consolidating logs from multiple RTC processes
Daniel Pocock
daniel at pocock.pro
Sun Jul 4 22:55:48 UTC 2021
I've recently made patches in a few projects so they output logfiles in
JSON CEE format. Structured logging like this makes it slightly easier
to load into databases. At the same time, I had a close look at the
timestamp conventions to make sure that the log entries from different
processes will appear in the correct order when merged into a single
database.
I've been able to load them into OpenSearch and view them in the
OpenSearch Dashboard.
To load the logs, I tried three approaches:
- rsyslog: this appears troublesome, it tries to escape the JSON twice,
- curl: POST a log file, this is quite trivial and it works,
- logstash: file input to elasticsearch output,
Is anybody interested in trying this with any XMPP software or tools
that we share between different RTC ecosystems?
Gstreamer:
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/847
Kurento:
https://github.com/Kurento/kurento-media-server/pull/17
reSIProcate (repro SIP proxy, reTurn TURN server, ...)
https://github.com/resiprocate/resiprocate/commit/d1df9aeb956be79253560fe3628b3f37a4ef94f2
More information about the JDev
mailing list