store data in elasticsearch