def _send(self, content):
        """
        Send content to TSDB.
        """
        retry = 0
        success = False
        while retry < 3 and success is False:
            self.log.debug(content)
            try:
                request = urllib2.Request("http://"+self.host+":" +
                                          str(self.port)+"/api/put",
                                          content, self.httpheader)
                response = urllib2.urlopen(url=request, timeout=self.timeout)
                if response.getcode() < 301:
                    self.log.debug(response.read())
                    # Transaction should be finished
                    self.log.debug(response.getcode())
                    success = True
            except urllib2.HTTPError as e:
                self.log.error("HTTP Error Code: "+str(e.code))
                self.log.error("Message : "+str(e.reason))
            except urllib2.URLError as e:
                self.log.error("Connection Error: "+str(e.reason))
            finally:
                retry += 1
        self.entrys = []
Send content to TSDB.