LogCollectionConfig

LogCollectionConfig
LogCollectionConfig
JSON Example
{
    "host": "string",
    "port": 0,
    "protocol": "string",
    "enabled": false,
    "unitid": "string",
    "unittype": "string",
    "loglevel": "string",
    "content": "string",
    "certificates": [
        "string"
    ]
}
string
host
Optional

The hostname or IP address of the destination log server.

integer
port
Optional

The port number for sending log traffic to the specified host.

string
protocol
Optional

The protocol used for forwarding logs. Example- cfapi, syslog etc.

boolean
enabled
Optional
Constraints: default: true

Specifies whether log collection is enabled for this unit. Set true to enable log collection

string
unitid
Optional

A unique identifier for the log collection unit. Node id of the NI node.

string
unittype
Optional

Type of NI node. Example - platform, collector.

string
loglevel
Optional

Desired overall log verbosity for the NI

string
content
Optional

The raw text/string content for the log collector agent's configuration (INI, YAML, etc.).

array of string
certificates
Optional

A list of PEM-encoded certificates, with each string representing a single certificate.These certificates are intended for establishing secure connections from the component to the destination log server.