
Does anyone know what the proper way is to create a systemd service and read from syslog write the logs out to the network?
I had this in a service:
tail -f /var/log/syslog | send_logs_to_elasticsearch
but it the stdio from the send_logs_to_elasticsearch would be written to syslog, so it woul...