Configure a Log Decoder to Accept ProtobufConfigure a Log Decoder to Accept Protobuf
There are occasions when you want to analyze log files that are in protobuf (Protocol Buffer) format. You can configure a Log Decoder with a Log Collector service to accept logs in protobuf (Protocol Buffer) format.
To import a log file to a Log Decoder:
- Go to (Admin) > Services.
- Select a Log Decoder with a Log Collector service in the Service list, and select > View > Explore.
The Explore view for the Log Decoder -Log Collector is displayed. - Navigate to event-processors/logdecoder/destinations/logdecoder/consumer/processors/tcpconnector/config
Your screen should look similar to the following. - For the send-protobuf field, select false, and change the value to true.
- Navigate to event-processors/logdecoder/destinations/logdecoder/consumer/processors/tcpconnector/
config/connector/channel/tcp and change the port value to 50202. - Navigate to event-processors/logdecoder/destinations/logdecoder/consumer/processors/tcpconnector/
config/connector/event and change the following parameters:- Clear the delimiter field
- Change format to %text%