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 intelmq.bots.collectors.file.collector_file.FileCollectorBot

class intelmq.bots.collectors.file.collector_file.FileCollectorBot(*args, **kwargs)

Bases: intelmq.lib.bot.CollectorBot

Fetch data from the file system

chunk_replicate_header = True
chunk_size = None
delete_file = False
init()
path = '/tmp/'
postfix = '.csv'
process()
rate_limit = 300

Module contents