Add id flag to elasticsearch output