From 8d778d2053a3788996977af5e8ed5cb1946bfb49 Mon Sep 17 00:00:00 2001 From: Robert Weber Date: Thu, 19 Jun 2014 13:26:20 -0600 Subject: [PATCH 1/2] Bytes are needed for the encoded message, in the case of a DPI it can be non UTF-8 --- protofiles/LogMessage.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protofiles/LogMessage.proto b/protofiles/LogMessage.proto index 9bb94d35b563d..37e47ca0a8abd 100644 --- a/protofiles/LogMessage.proto +++ b/protofiles/LogMessage.proto @@ -32,7 +32,7 @@ message LogMessage { optional LogType outputType = 1; repeated SourceType inputType = 2; - repeated string inputData = 3; + repeated bytes inputData = 3; repeated SystemSubtype systemSubType = 4; repeated string eventName = 5; } From dac63ff8762fa9726c7d16d294261c5cd74e1cdc Mon Sep 17 00:00:00 2001 From: Robert Weber Date: Thu, 19 Jun 2014 15:22:03 -0600 Subject: [PATCH 2/2] Better name --- protofiles/DpiMsgLRproto.proto | 2 +- resources/DpiMsgLRproto.protoheader | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/protofiles/DpiMsgLRproto.proto b/protofiles/DpiMsgLRproto.proto index 995d64db2b281..f089b82087082 100644 --- a/protofiles/DpiMsgLRproto.proto +++ b/protofiles/DpiMsgLRproto.proto @@ -62,7 +62,7 @@ message DpiMsgLRproto optional string StoragePath = 41; repeated uint32 SrcIP6 = 42; repeated uint32 DestIP6 = 43; - optional string RawData = 44; + optional string NormalizedSyslogData = 44; optional uint64 TimeEnd = 45; // REMEMBER TO UPDATE resources/DpiMsgLRproto.protoheader as well diff --git a/resources/DpiMsgLRproto.protoheader b/resources/DpiMsgLRproto.protoheader index 85aa645d907b6..777c9262f90e1 100644 --- a/resources/DpiMsgLRproto.protoheader +++ b/resources/DpiMsgLRproto.protoheader @@ -62,7 +62,7 @@ message DpiMsgLRproto optional string StoragePath = 41; repeated uint32 SrcIP6 = 42; repeated uint32 DestIP6 = 43; - optional string RawData = 44; + optional string NormalizedSyslogData = 44; optional uint64 TimeEnd = 45; // REMEMBER TO UPDATE resources/DpiMsgLRproto.protoheader as well