Пример #1
0
 def write_alert(self):
     writer_bulk(
         self._flags.es_host,
         self._flags.es_port,
         self.df,
         self._flags.output_name   
     )
Пример #2
0
 def write_alert(self, output_index):
     writer_bulk(
         self._flags.es_host,
         self._flags.es_port,
         self.df,
         #self._flags.output_name
         output_index)