intelmq.bots.outputs.files package¶
Submodules¶
intelmq.bots.outputs.files.output module¶
- intelmq.bots.outputs.files.output.BOT¶
alias of
FilesOutputBot
- class intelmq.bots.outputs.files.output.FilesOutputBot(*args, **kwargs)¶
Bases:
OutputBot
Write events lockfree into separate files
- _get_new_name(fd=None)¶
Creates unique filename (Maildir inspired)
- create_unique_file()¶
Safely creates machine-wide uniquely named file in tmp dir.
- dir: str = '/opt/intelmq/var/lib/bots/files-output/incoming'¶
- hierarchical_output: bool = False¶
- init()¶
- keep_raw_field: bool = False¶
- message_jsondict_as_string: bool = False¶
- message_with_type: bool = False¶
- process()¶
- single_key: bool = False¶
- suffix: str = '.json'¶
- tmp: str = '/opt/intelmq/var/lib/bots/files-output/tmp'¶