SmartCARE API for Recording Servers
Source streams recording servers SmartMEDIA Conveyor (formerly Recorder) is able to send rsyslog data to the SmarCARE server (over UDP) for subsequent processing by the Collector module and recording in the mongoDB database. Such data is stored in the smXxx collections.
Example of the SmartMEDIA Conveyor rsyslog entry:
<134> Jun 30 11:08:25 wolf.int.smlabs.net recorederId=wolf[0x00007f6576f36700] [debug] [default] overall reading: 3.815 Mb/sec. Stream 233.3.3.18.5000 (233.3.2.1:5000) (‘10.65.2.204’, 45295)
Data Format of Source Streams Recording Servers
Description of the SmartMEDIA Conveyor rsyslog data will be presented on the example of the following 2 entries:
<134> Jun 30 11:08:25 wolf.int.smlabs.net recorederId=wolf[0x00007f6576f36700] [debug] [default] overall reading: 3.815 Mb/sec. Stream CH_MOSCOW-241 (233.3.2.1:5000) (‘10.65.2.204’, 45295)
<134> Jun 30 11:08:41 wolf.int.smlabs.net recorederId=wolf[0x00007f657973a700] [warning] [default] Read buffer overflow! Stream CH_C01_NSTV (233.3.3.18:5000) (‘10.65.2.204’, 45295)
rsyslog entry parameter |
Description |
<134> |
|
Jun 30 11:08:25 |
Log recording time. |
wolf.int.smlabs.net |
Hostname of the incoming streams recording server. |
recorederId=wolf[0x00007f6576f36700] |
|
[debug] [warning] |
Logging level. |
[default] |
|
overall reading: 3.815 Mb/sec. Read buffer overflow! |
Message main body. |
CH_MOSCOW-241 CH_C01_NSTV |
Incoming stream ID. |
(233.3.2.1:5000) (233.3.3.18:5000) |
|
(‘10.65.2.204’, 45295) |