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
intelmq.bots.outputs.bro_file.output.BroFileOutputBot
-
class
intelmq.bots.outputs.bro_file.output.
BroFileOutputBot
(*args, **kwargs)¶ Bases:
intelmq.lib.bot.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
= '/opt/intelmq/var/lib/bots/file-output/bro'¶
-
format_filename
= False¶
-
hierarchical_output
= False¶
-
init
()¶
-
is_multithreadable
= False¶
-
keep_raw_field
= False¶
-
message_jsondict_as_string
= False¶
-
message_with_type
= False¶
-
open_file
(filename: str = None)¶
-
process
()¶
-
shutdown
()¶
-
single_key
= False¶
-