Hi,
I have a requirement to upload files from Logstash machine to a remote machine, without any processing. Input is a file, no filtering required, output is upload entire file to remote machine. Can I do that ?
--Hemanth
Hi,
I have a requirement to upload files from Logstash machine to a remote machine, without any processing. Input is a file, no filtering required, output is upload entire file to remote machine. Can I do that ?
--Hemanth
Hi @hemanth,
This kind of sounds like you just need to transfer files between hosts, which can be done much more simply and efficiently without Logstash. Which begs the question, why did you pick Logstash to try to do this?
Hi @Joshua_Rich,
Thanks for your quick response.
Primarily I'm using Logstash for my logs (syslog) collection. In addition to that I have another requirement, which needs scanning a folder and upload the files to remote server.
Instead of using another tool, can I leverage on Logstash for this ?
What's on the receiving side, Logstash? You can probably get away with a file input on the sending side and a file output on the receiving side. For the latter you may want to set the message_format parameter to %{message} so it doesn't include any timestamp or similar.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.