-
-
Notifications
You must be signed in to change notification settings - Fork 28
PaStash Jitsi Event Collector
Lorenzo Mangani edited this page Jan 31, 2019
·
1 revision
This example leverages paStash as a centralized ingestor for browser events and logs generated by Jitsi or other similar apps.
Jitsi provides a pluggable analytics handlers
functionality to distribute events to multiple targets, as used by Google Analytics and other applications. We'll use the same chain to load our custom event logger
analyticsScriptUrls: [
"https://gitcdn.xyz/repo/lmangani/jitsi-hep/master/jitsi-hep.js"
],
input {
http {
host => 0.0.0.0
port => 9069
ssl => true
ssl_key => '/config/keys/cert.key'
ssl_cert => '/config/keys/cert.crt'
}
}
filter {
json_fields {}
}
output {
loki {
host => loki
port => 3100
path => "/api/prom/push"
}
}
Leverage Jitsi's certificates for same-domain operation, or load up your own
pastash:
image: qxip/pastash-loki
container_name: pastash
expose:
- 9069
ports:
- '9069:9069'
volumes:
- ${CONFIG}/web:/config
- ./config/pastash.conf:/pastash.conf
depends_on:
- web
- loki
networks:
meet.jitsi: