intelmq.bots.collectors.file package¶
Submodules¶
intelmq.bots.collectors.file.collector_file module¶
File Collector Bot
Regularly checks a directory and reads files matching an extension from it It can delete the file if a delete switch was set. The bot creates on report per file.
Copyright (C) 2016 by Bundesamt für Sicherheit in der Informationstechnik Software engineering by Intevation GmbH
- param path:
string
- param postfix:
string
- param delete_file:
boolean
- param default:
False
- intelmq.bots.collectors.file.collector_file.BOT¶
alias of
FileCollectorBot
- class intelmq.bots.collectors.file.collector_file.FileCollectorBot(*args, **kwargs)¶
Bases:
CollectorBot
Fetch data from the file system
- chunk_replicate_header: bool = True¶
- chunk_size: int = None¶
- delete_file: bool = False¶
- init()¶
- path: str = '/tmp/'¶
- postfix: str = '.csv'¶
- process()¶
- rate_limit: int = 300¶