getCollectors

Method

Purpose

This method returns the list of collectors.

Type

Synchronous, IMPACT_INFO

Arguments

 

Name

Type

Description

 

String

If this argument is empty, information about all the configured collectors is returned.

Returns

 

Name

Type

Description

Key

String

The collector key

Name

String

Name of the collector

Type

String

Type of the collector

Collection

String

Connection parameters

• Syslog: protocol/bound port

• RT File: File name (no path)

• Remote File: File path

• Hawk Rulebase (Rulebase name)

• Hawk Metrics

Forwarder IDs

String

List of forwarder keys to which the collector is forwarding the data.

isActive

Boolean

Specifies whether Log Source is active (true) or not (false)

Tags

String

Tags are useful to store, sort, and search for Log Sources in a list.