Lumberjack
Receive log events from Elastic Beats, such as Filebeat, and other clients of the Lumberjack protocol.
What’s inside
-
Lumberjack component, URI syntax:
lumberjack:host:port
Please refer to the above links for usage and configuration details.
Maven coordinates
<dependency>
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-lumberjack-starter</artifactId>
</dependency> Spring Boot Auto-Configuration
The starter supports 5 options, which are listed below.
| Name | Description | Default | Type |
|---|---|---|---|
camel.component.lumberjack.autowired-enabled | Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc. | true | Boolean |
camel.component.lumberjack.bridge-error-handler | Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions (if possible) occurred while the Camel consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. Important: This is only possible if the 3rd party component allows Camel to be alerted if an exception was thrown. Some components handle this internally only, and therefore bridgeErrorHandler is not possible. In other situations we may improve the Camel component to hook into the 3rd party component and make this possible for future releases. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. | false | Boolean |
camel.component.lumberjack.enabled | Whether to enable auto configuration of the lumberjack component. This is enabled by default. | Boolean | |
camel.component.lumberjack.ssl-context-parameters | The SSL configuration to accept the connections of the Lumberjack clients over TLS: the key store with the server certificate and, to require client certificates, the trust store and the clientAuthentication of the server parameters. It applies to the endpoints that do not set their own sslContextParameters, unless useGlobalSslContextParameters is enabled and the CamelContext has a global SSL configuration, which then takes precedence. The option is a org.apache.camel.support.jsse.SSLContextParameters type. | SSLContextParameters | |
camel.component.lumberjack.use-global-ssl-context-parameters | Whether to use the global SSL configuration of the CamelContext for the endpoints that do not set their own sslContextParameters. When the CamelContext has a global SSL configuration, it takes precedence over the sslContextParameters of this component. | false | Boolean |