Describes, the procedure to write new rest custom collector.

  1. Create package for a custom collector, for example: rest_collector

  2. Inside the collector package, develop python code by implementing BachColletor.

  3. Create or update the required configuration files. Refer the section Configurations

Example: To create a REST Collector:

from collectors.batch_collector import BatchCollector 
class RestCollector(BatchCollector)

See, sample code for REST custom collector in example directory.