What's the right way to read a file on a remote system?

I want to read this syslog file:

http://this.that.theother/dir/derp/syslog.log

The normal file plug-in (input?) does not like the URI; it wants a file:

<ArgumentError: File paths must be absolute, relative path specified:

What's the right way to read this file? There is no authentication or other type of roadblock. I can browse the file so I know it is there.

Also, from the logstash system, I can curl the URI and get the data.

Use the http_poller plugin. Note that it won't tail the file and track its position like the file input does; it'll read and process it in full each time.

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