Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8927

Re: Socket Input Adapter

$
0
0

Yes, you are right, 1 line of data is 1 message. But, I am trying to parse a log data in Common Event Format (CEF). As you can see in the attached file, single CEF message is start with "CEF" and CEF messages are comming without a newline char. So, what my opinion is that read the message from tcp socket in length of packet buffer size. So, 1 line of data is the data in tcp packet with buffer size. Then, I parse the incoming messages in a FlexOperator.

 

I did the parsing CEF events in a file like attached file, but now I am trying same thing with tcp socket.


Viewing all articles
Browse latest Browse all 8927

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>