Hi @anoopkrishna,
I don't know much about the internals of Heroku, but it seems to be possible to configure a logplex drain that forwards log entries in syslog format. You could try to send those to a logstash or filebeat process and forward to Elasticsearch from there. A quick search lead me to https://blog.readme.com/making-better-use-of-herokus-logging-firehose/, which describes a setup of that sort.