Reading logs from Sybase database

Tags:

#1 amol_more

Hi Everyone,

Can someone help me to read logs from Sybase DB?

We are having two instances of Sybase, One is on Windows and second is on Linux. I want to forward these logs over syslog.

Thanks in advance!!!

#2 Zhengshi Nxlog ✓
#1 amol_more
Hi Everyone, Can someone help me to read logs from Sybase DB? We are having two instances of Sybase, One is on Windows and second is on Linux. I want to forward these logs over syslog. Thanks in advance!!!

Best bet would be to use im_odbc as it is available on Windows and Linux.
Have your DB team configure DSN for the ODBC connection and configure im_odbc accordingly.

Sending to Syslog should be easy enough. Likely om_tcp and to_syslog_bsd() from the xm_syslog module, though this will largely depend on how your Syslog is listening.