{
"id": string,
"name": string,
"logname": string,
"parser": string,
"filter": string
}
id * | Specifies the ID of the Collector. |
name * | Specifies the name for the Collector, which can be any name. |
logname | Based on the log type, this field specifies the path and name of the log file or the system logs. |
parser * |
The parser field indicates which pre-defined parser to use for scanning the logs. If the field begins with
"regex," a custom regular expression must follow to define a custom parser for log scanning.
The following pre-defined parsers are available:
|
filter |
Specifies a semi-colon-separated - ; - list of filter rules to be applied. You can pass an empty
string to remove all filters. The following format must be used for the filter:
OPERATOR->FIELDNAME PATTERN;...
|
{
"result": "OK",
"payload": "The process was successfully completed",
"id": "V7-49ff499f-xxxx-xxxx-xxxx-b47fxxxx99af"
}
{
"result": "ERR",
"message": "Error message ..."
}