From 76384d221627d2d21056f29de83aa7f14fbdfeb8 Mon Sep 17 00:00:00 2001 From: Yasen Pramatarov Date: Sun, 16 Jun 2024 10:37:00 +0000 Subject: [PATCH] Formats log regexps docs --- log-regexps.md | 87 +++++++++++++++++++++++++++++++++++++++++++++++++ log-regexps.txt | 72 ---------------------------------------- 2 files changed, 87 insertions(+), 72 deletions(-) create mode 100644 log-regexps.md delete mode 100644 log-regexps.txt diff --git a/log-regexps.md b/log-regexps.md new file mode 100644 index 0000000..f74ab37 --- /dev/null +++ b/log-regexps.md @@ -0,0 +1,87 @@ +# Log regexps + +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.16 + +---- + +## JVB + +### 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 +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``` + +## participant joining +needed: *timestamp, loglevel, conferenceID, endpointID, statsID* + +regex + +```JVB ([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 +needed: *timestamp, loglevel, conferenceID, endpointID, statsID, participant IP address* + +regex + +```JVB ([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 +needed: *timestamp, loglevel, conferenceID, endpointID, statsID* + +regex + +```JVB ([0-9-]+\ [0-9:.]+)\ [A-Z]+:.*\[confId=${conference_id}\ .*epId=${participant_endpoint_id}\ stats_id=${participant_stats_id}\]\ Endpoint\.expire.*:\ Expired\.``` + +---- + +## JICOFO + +### conference start +needed: *timestamp, loglevel, conferenceName,* (**FIXME**: we don't have *conferenceID* here, it's good to have it) + +regex + +```Jicofo ([0-9-]+\ [0-9:.]+)\ [A-Z]+:.*\[room=([^ ]+)@.*\]\ JitsiMeetConferenceImpl\.joinTheRoom``` + +### participant joining +needed: *timestamp, loglevel, conferenceID, conferenceName, participantID, statsID* + +regex + +```Jicofo ([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 +needed: *timestamp, loglevel, bridgeID* + +regex + +```Jicofo ([0-9-]+\ [0-9:.]+)\ [A-Z]+:.*BridgeSelectionStrategy.select#.*:\ Selected.*\[jid=[a-z]@.*\/(.*),\ ``` + +### participant leaving +needed: *timestamp, loglevel, conferenceID, participantID* + +regex + +```Jicofo ([0-9-]+\ [0-9:.]+)\ [A-Z]+:.*\[room=${conference_name}@.*\ meeting_id=${conference_id}\]\ .*\.removeParticipant#.*:\ Removing\ ([a-zA-Z0-9]+)``` + +### conference end +needed: *timestamp, loglevel, conferenceID* + +regex + +```Jicofo ([0-9-]+\ [0-9:.]+)\ [A-Z]+:.*\[room=([^ ]+)@.*\ meeting_id=([a-zA-Z0-9-]+)\]\ JitsiMeetConferenceImpl\.stop``` diff --git a/log-regexps.txt b/log-regexps.txt deleted file mode 100644 index 25fc534..0000000 --- a/log-regexps.txt +++ /dev/null @@ -1,72 +0,0 @@ -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.16 - ----- - -JVB: - -*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* -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 - -*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* -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* -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\. - ----- - -JICOFO: - -*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* -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* -Needed: timestamp, loglevel, bridgeID - -regex -([0-9-]+\ [0-9:.]+)\ [A-Z]+:.*BridgeSelectionStrategy.select#.*:\ Selected.*\[jid=[a-z]@.*\/(.*),\ - -*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* -Needed: timestamp, loglevel, conferenceID - -regex -([0-9-]+\ [0-9:.]+)\ [A-Z]+:.*\[room=([^ ]+)@.*\ meeting_id=([a-zA-Z0-9-]+)\]\ JitsiMeetConferenceImpl\.stop