This feeder can create the stream of fsnotify events for a given folder or for cloud platform storage like Amazon S3,
Google Drive and Dropbox.
The feeder use cloudwatcher to keep track of changes on the chosen directory.
|name||STRING||empty||the path of the folder that it has to keep track|
|type||STRING||“local”||the type of service to use |
|freq||DURATION||2s||how often the directory should be checked for updates|
You can pass them using the config file (more here) OR
define them in the rule itself:
<folder: name="/", type="gdrive", client_id="xxx", client_secret="yyy", token="zzz">
<folder: name="/tmp", type="local"> | ...
main field of the Message will contain the filename while the
op extra the type of event.
|op||type of event: |
|size||for some events you can find the size of the file that triggered the event|