Integration of Apache Camel with Syslog to emit life-cycle and status events of automated deployments managed via Company’s product to Graylog/Logstash log management system.

Some of the problems included:

  • Company’s product required logging of its life-cycle and status events to Graylog/Logstash log management system
  • Existing Apache Camel Syslog component did not work properly

Some of the solutions applied included:

  • Implementing wrapper for Syslog4j library, providing methods to log to Syslog at different levels, which could be used with Camel as well as outside Camel when needed
  • Implementing custom Apache Camel Processor, which emits life-cycle and status events to Syslog, utilizing said wrapper for Syslog4j library, as work-around for issues found in existing Apache Camel Syslog component

Technology stack

  • Java
  • OSGi
  • Spring
  • Apache Aries Blueprint
  • Apache Camel
  • RabbitMQ
  • Syslog
  • Graylog/Logstash
  • Syslog4j

Industry

IT