Can i collect and parse TCP response messages from a server and port ? if so kindly help me with the config file and steps

thanks for your thoughts.

one more clarification

The logs message which i get from the server will be binary format Will the Packetbeat parse the data to human readable format ?