Update log-regexps.txt

Formats log regexps docs
main
Yasen Pramatarov 2024-06-16 10:25:25 +00:00
parent 7a10ac6822
commit 6acf8e6ad7
1 changed files with 39 additions and 32 deletions

View File

@ -1,65 +1,72 @@
This is a reference of the log lines and the corresponding regexps that are used in Jilo for events tracking.
Work in progress.
2024.06.10
2024.06.16
----
JVB:
conference start:
*conference start*
Needed: timestamp, loglevel, conferenceID, conferenceName, conferenceDomain
log
JVB 2024-04-01 04:08:55.124 INFO: [19046] [confId=4c14584fce9a5970 conf_name=someroom123@conference.meet.example.com meeting_id=177c43a3] EndpointConnectionStatusMonitor.start#58: Starting connection status monitor
regex
JVB\ ([0-9-]+\ [0-9:.]+)\ ([A-Z]+):.*\[confId=([a-zA-Z]+)\ conf_name=(.*)@([a-zA-Z0-9-_.]+)\ meeting_id=.*\]\ EndpointConnectionStatusMonitor\.start.*:\ Starting\ connection\ status\ monitor
conference end:
*conference end*
Needed: timestamp, loglevel, conferenceID (optionally in case we don't have the starting event: conferenceName, conferenceDomain)
log
JVB 2024-04-01 03:04:24.339 INFO: [18981] [confId=4c14584fce9a5970 conf_name=someroom123@conference.meet.example.com meeting_id=177c43a3] EndpointConnectionStatusMonitor.stop#66: Stopped
regex
participant joining
*participant joining*
Needed: timestamp, loglevel, conferenceID, endpointID, statsID
log
([0-9-]+\ [0-9:.]+)\ [A-Z]+:.*\[confId=${conference_id}\ .*epId=([a-zA-Z0-9-]+)\ stats_id=([a-zA-Z0-9-]+)\ .*Starting\ the\ Agent\ without\ remote\ candidates
pair selection
*pair selection*
Needed: timestamp, loglevel, conferenceID, endpointID, statsID, participant IP address
([0-9-]+\ [0-9:.]+)\ [A-Z]+:.*\[confId=${conference_id}\ .*epId=${participant_endpoint_id}\ stats_id=${participant_stats_id}\ .*Selected\ pair\ for\ stream\ .*([0-9.]+):10000/udp/srflx\ \-\>\ ([0-9.]+):[0-9]+/udp/prflx
participant leaving
*participant leaving*
Needed: timestamp, loglevel, conferenceID, endpointID, statsID
([0-9-]+\ [0-9:.]+)\ [A-Z]+:.*\[confId=${conference_id}\ .*epId=${participant_endpoint_id}\ stats_id=${participant_stats_id}\]\ Endpoint\.expire.*:\ Expired\.
## OLD
# was used to insert start & end in one db record,
# retired because in "start" regex there was no conference name, only id
##
conference start:
log
JVB 2024-04-01 03:02:52.593 INFO: [18962] Videobridge.createConference#255: create_conf, id=4c14584fce9a5970 meeting_id=177c43a3-1780-4258-aa23-ca3d7dd29aa5
regex
([0-9-]+\ [0-9:.]+)\ [A-Z]+:.*\ Videobridge\.createConference#[0-9]+:\ create_conf,\ id=([a-zA-Z0-9]+)
conference end:
log
JVB 2024-04-01 03:04:24.339 INFO: [18981] [confId=4c14584fce9a5970 conf_name=someroom123@conference.meet.example.com meeting_id=177c43a3] Conference.expire#595: Expiring.
regex
([0-9-]+\ [0-9:.]+)\ [A-Z]+:.*\[confId=([a-zA-Z0-9]+)\ .*conf_name=([^ ]+)@.*\]\ Conference\.expire
----
JICOFO:
conference start
*conference start*
Needed: timestamp, loglevel, conferenceName, (FIXME: we don't have conferenceID here, it's good to have it)
regex
([0-9-]+\ [0-9:.]+)\ [A-Z]+:.*\[room=([^ ]+)@.*\]\ JitsiMeetConferenceImpl\.joinTheRoom
participant joining
*participant joining*
Needed: timestamp, loglevel, conferenceID, conferenceName, participantID, statsID
regex
([0-9-]+\ [0-9:.]+)\ [A-Z]+:.*\[room=([^ ]+)@.*\ meeting_id=([a-zA-Z0-9-]+)\]\ .*\.onMemberJoined.*:\ Member\ joined:([a-zA-Z0-9]+)\ stats-id=([a-zA-Z0-9-]+)
bridge selection
*bridge selection*
Needed: timestamp, loglevel, bridgeID
regex
([0-9-]+\ [0-9:.]+)\ [A-Z]+:.*BridgeSelectionStrategy.select#.*:\ Selected.*\[jid=[a-z]@.*\/(.*),\
participant leaving
*participant leaving*
Needed: timestamp, loglevel, conferenceID, participantID
regex
([0-9-]+\ [0-9:.]+)\ [A-Z]+:.*\[room=${conference_name}@.*\ meeting_id=${conference_id}\]\ .*\.removeParticipant#.*:\ Removing\ ([a-zA-Z0-9]+)
conference end
([0-9-]+\ [0-9:.]+)\ [A-Z]+:.*\[room=([^ ]+)@.*\ meeting_id=([a-zA-Z0-9-]+)\]\ JitsiMeetConferenceImpl\.stop
*conference end*
Needed: timestamp, loglevel, conferenceID
regex
([0-9-]+\ [0-9:.]+)\ [A-Z]+:.*\[room=([^ ]+)@.*\ meeting_id=([a-zA-Z0-9-]+)\]\ JitsiMeetConferenceImpl\.stop