2

What is the preferred way to log to a Graylog2 Server from PL/SQL code? I couldn't find any PL/SQL Logging API/Package that supports Graylog2.

Cengiz
  • 5,375
  • 6
  • 52
  • 77

1 Answers1

1

The easiest approach would probably be using UTL_HTTP to make calls to the HTTP API of Graylog. You could also look into making calls to syslog via something like Log4PLSQL and the forwarding them over using rsyslog.

Doug Porter
  • 7,721
  • 4
  • 40
  • 55