I have the following code that I want to run to put json file into elasticsearch on my ubuntu 18.04 on virtual machine:
import requests, json, os from elastic