Is it possible to generate a syslog entry from every new row in a table (it's an application log)?
okay, so let me try this again. I have a table that has about 26 columns and few of them are here as an exmple:
HOST | DATE_TIME_CREATED | USER_ID | EVENT_CLASS | EVENT_TYPE | |
192.168.48.24 | 1422285169 | user123@healthcare | AUDIT | STUDY_INFO_VIEWED |
And I would like to get this data to central syslog server so that every new row in this table would be as separate syslog message. Is this possible?
One option would be to export the data with SQL commands (is it possible? expdp?) the environment variables are all ok, because I can run scripts/SQl commands but I don't if there is such a command. Then I could read this data from a text file to rsyslog.