def write_alert(self): writer_bulk( self._flags.es_host, self._flags.es_port, self.df, self._flags.output_name )
def write_alert(self, output_index): writer_bulk( self._flags.es_host, self._flags.es_port, self.df, #self._flags.output_name output_index)