Pushing logs to logstash of elastic account


I have an account in http://found.elastic.co.
I would like to configure logstash under .ebextensions of WebContent folder (eclipse ) in such a way that it should pickup my tomcat logs installed in aws instance and push tomcat logs to logstash remotely.

Can someone please give us steps to do this.

Thanks in advance.

I don't know how to do this;

But if you install LS on the same server and then point it to the logs, and your Found cluster, it will work fine.