set log formatter message type

This commit is contained in:
AlanCoding 2017-03-03 08:56:56 -05:00 committed by Matthew Jones
parent ae321536cd
commit 0046421f05

View File

@ -14,6 +14,7 @@ class LogstashFormatter(LogstashFormatterVersion1):
if settings_module:
self.host_id = settings_module.CLUSTER_HOST_ID
self.tower_uuid = settings_module.LOG_AGGREGATOR_TOWER_UUID
self.message_type = settings_module.LOG_AGGREGATOR_TYPE
return ret
def reformat_data_for_log(self, raw_data, kind=None):