I want to send all logs from Database [Table creation, row insertion, data deletion, data selection etc.. ] to Logstash using NXLog, I have read the following blogs,
But which seams to be not working for me. Any help will be highly appreciable.
My nxlog config file :
<Input sql-logs>
Module im_dbi
SavePos TRUE
Driver mysql
Option dbname MySample
</Input>
<Output sql-out>
Module om_tcp
Host 192.168.1.14
Port 5222
</Output>
In logstash config file,
tcp {
port => 5222
type => "sqllogs"
}
Then I have created new table, inserted many records, but no logs visible in kibana.