add kernel logging to router role
diff --git a/metadata/service/server/amqp/router.yml b/metadata/service/server/amqp/router.yml
index 5d910b2..aff540c 100644
--- a/metadata/service/server/amqp/router.yml
+++ b/metadata/service/server/amqp/router.yml
@@ -18,6 +18,12 @@
exchange_type: fanout
decoder: ProtoBufDecoder
splitter: HekaFramingSplitter
+ rsyslog_kern:
+ engine: logstreamer
+ log_directory: /var/log
+ file_match: kern\.log\.?(?P<Index>\d+)?(.gz)?
+ decoder: RsyslogDecoder
+ priority: ["^Index"]
rsyslog_syslog:
engine: logstreamer
log_directory: /var/log
@@ -53,4 +59,3 @@
engine: es-json
index: logfile-%{%Y.%m.%d}
es_index_from_timestamp: true
-