I have structured data, pairs of key values ββthat should be logged through syslog. In the end, we want to see statistics about these indicators. How should we encode and then decode it on the receiver side?
One parameter that we analyze part of the syslog log message and based on this parsing, insert it into the relational database table.
The second idea that we got is to send the data in JSON, and on the receiver side we process the table of the relational database as a job queue, the records must be analyzed before being inserted into a separate table.
In addition, key value pairs may vary depending on what we want to record.
source share