Read log files from remote location in Linux


I was trying to read log file using Logstash I couldn’t make it working. I have set up Logstash and application server in different Linux box.

I have configured something like this, can you please help me out figuring out the issue.

input {
file {
path => "//"
type => "log4j"

here is the host of the application server which is different than Logstash server.


The file input plugin does not support remote locations. If you want to retrieve log data from other servers you could use the beat input plugin, after setting up filebeat in the remote servers.

You can check filebeat documentation and the beats input documentation.


Thanks for the information.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.