Elasticsearch is down. What happens to output data from Logstash?

You need to check the number of open files allowed on your server.
You can get that using command
> ulimit -n
By default it would be 1024. You need to increase the number to an higher number say 64K.

That should solve your open files exception issue.