Optimizing Speed of Searches/Visualizations

In my Elastic Stack we are running Elasticsearch, Logstash and Kibana. The Elasticsearch instance has 171,802,946 log lines in it. The issue that I am running into is that when I try to create a visualization/dashboard all of my queries time out. Is there some way that I can speed up the searches so that they do not time out? Is there some seetings that I need to change?

Thanks!

Have you been able to identify what is limiting performance, e.g. CPU, heap, disk I/O? What is the specification of your cluster? How much data do you have in it?