Logstash MySQL to Elasticsearch output does not reflect data in indices

Okay, I solved this problem by referring to this question - Template is not being used, mapping not working