Firstly my experience using Linux is pretty much non existent, I've downloaded the shipper.py script and installed netcat.
When attempting to ship a log file as a test I get these errors.
Code: Select all
[root@xxxxxxxx ~]# cat /var/log/httpd/access_log-20160131 | python shipper.py program:apache_access | nc xxx.xxx.xx.xxx 2056
[Errno 32] Broken pipe
Traceback (most recent call last):
File "shipper.py", line 242, in <module>
main()
File "shipper.py", line 237, in main
process_stream(sys.stdin, message)
File "shipper.py", line 217, in process_stream
print json.dumps(message)
IOError: [Errno 32] Broken pipe
Any help would be great!, thanks.