intelmq.bots.outputs.file package

Submodules

intelmq.bots.outputs.file.output module

intelmq.bots.outputs.file.output.BOT

alias of intelmq.bots.outputs.file.output.FileOutputBot

class intelmq.bots.outputs.file.output.FileOutputBot(bot_id: str, start: bool = False, sighup_event=None, disable_multithreading: Optional[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: Optional[str] = None)
process()
shutdown()

Module contents