fluentD installation on a separate host

By default Fluentd is installed on a server where logs are being stored but lets say if app is running on for eg. Host A but due to some limitation we are not in a position to install it here,. So my question is if I install fluentD agent on a separate host lets say B then will it be possible to read the logs which is stored on A?