What is the way to copy data to hdfs using logstash without using webhdfs


We want to move the data to hdfs using logstash. However, the webhdfs way is not accepted by our client, so we want to check other way around to move the data to hdfs. What is the way forward with logstash to move the data to hdfs without webhdfs.? Is there a pipe kind of technique available to move the data using command or so.? or what would be the best alternative.?