Database Administration (MOSC)

MOSC Banner

Is it possible to generate a syslog entry from every new row in a table (it's an application log)?

edited Jan 29, 2015 8:23AM in Database Administration (MOSC) 11 commentsAnswered ✓

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.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center