We need to collect 5000 events/sec and we are choosing single node elasticsearch,What is the compute capacity (CPU,RAM) needed for logstash and elasticsearch?

We need to collect 5000 events/sec and we are choosing single node elasticsearch,What is the compute capacity (CPU,RAM) needed for logstash and elasticsearch?

It depends. You need to test it.

And please make your title shorter.