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.
Asked
Active
Viewed 1,484 times
2
-
[The GrayLog2 documentation](https://www.graylog2.org/resources/documentation/sending/overview) has a bunch of info on how to get data into GrayLog2. – Bob Jarvis - Слава Україні Jan 08 '15 at 18:53
-
@Bob I only found an ['Extractor'](https://www.graylog2.org/resources/extractors/544ab9c3e4b02f0fce94254d) for Oracle Database 11.2g. – Cengiz Jan 09 '15 at 07:52
1 Answers
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