Issues in performance

I have a case where I am ingesting over 5 MN log lines / minute into logstash hosted on an Azure . The performance is really sluggish

Any recommendations on how I can improve the performance