intelmq.bots.outputs.bro_file package¶
Submodules¶
intelmq.bots.outputs.bro_file.output module¶
Bro file output
SPDX-FileCopyrightText: 2021 Marius Karotkis <marius.karotkis@gmail.com> SPDX-License-Identifier: AGPL-3.0-or-later
- intelmq.bots.outputs.bro_file.output.BOT¶
alias of
BroFileOutputBot
- class intelmq.bots.outputs.bro_file.output.BroFileOutputBot(*args, **kwargs)¶
Bases:
OutputBot
- add_bro_header()¶
- 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
- encoding_errors_mode = 'strict'¶
- file: str = '/opt/intelmq/var/lib/bots/file-output/bro'¶
- format_filename: bool = False¶
- hierarchical_output: bool = False¶
- init()¶
- is_multithreadable = False¶
- keep_raw_field: bool = False¶
- message_jsondict_as_string: bool = False¶
- message_with_type: bool = False¶
- open_file(filename: str = None)¶
- process()¶
- shutdown()¶
- single_key: bool = False¶