Error: "check_index: No index found! Exiting"

The current script only cares for indices with the "logstash-" prefix. If you use any other prefix to index your logs it will fail.
If you think this shouldn't be this way please let me know in the comments.

Done for fun. Feel free to comment on bugs or additional desired features.