Retrying failed action with response code 503

Sometimes the logstash service stops automatically in ELK and the data is not displayed on the kibana web service. What could be the reason?may is the reason amount of the files?

can the size of the logs be large?