There is still no Logstash API for reading SQL.
According to my recommendation, you can write a program / script, such as JAVA / python, to read the logs from the sql database and write to the file. Then use the logstash file
API to read from the file. A tutorial has appeared on the Logstash website. It is easy to find out. Good luck
source
share