Is there a way to check if logstash is in an idling state. I need to know if logstash has finished parsing the log files assigned to it.
Logstash doesn't really have a notion of "idle". See http://stackoverflow.com/a/33146636/414355 for how to check the progress of file ingestion.