intelmq.bots.outputs.file package¶
Submodules¶
intelmq.bots.outputs.file.output module¶
-
intelmq.bots.outputs.file.output.
BOT
¶
-
class
intelmq.bots.outputs.file.output.
FileOutputBot
(bot_id: str, start: bool = False, sighup_event=None, disable_multithreading: bool = None)¶ Bases:
intelmq.lib.bot.OutputBot
-
static
check
(parameters)¶ The bot’s own check function can perform individual checks on it’s parameters. init() is not called before, this is a staticmethod which does not require class initialization.
- Parameters
parameters – Bot’s parameters, defaults and runtime merged together
- Returns
- None or a list of [log_level, log_message] pairs, both
strings. log_level must be a valid log level.
- Return type
output
-
file
= None¶
-
init
()¶
-
is_multithreadable
= False¶
-
open_file
(filename: str = None)¶
-
process
()¶
-
shutdown
()¶
-
static