SystemSettingsSyslog
SystemSettingsSyslog - InstallCertificate
Installs the certificate and key in the selected Logpoint and updates Syslog settings.
POST
https://api-server-host-name/configapi/{pool_UUID}/{logpoint_identifier}/SystemSettingsSyslog/certificate/installParameters
certificate
Certificate
String
Name of the certificate file to install. Mandatory only when the value of the key is present in the request. Optional Field.
file_location
-
String
Location of the file to install. Can be either 'private' or 'public'. Mandatory only when the value of the key and the certificate is present in the request. Optional Field.
key
Key
String
Name of the key file to install. Mandatory only when the value of the certificate is present in the request. Optional Field.
sequence_number
Sequence Numbering
boolean
Flag for adding sequence numbers to the log received from the Syslog Collector. Value can be 'true' or 'false'. Optional Field.
syslog_max_log_size_kb
Message Length
int
Maximum possible length of a syslog message in kb. Default value is 12kb. Minimum value is 1kb and it's value cannot be greater than 64 kb. Optional Field.
accept_syslogs_from_unregistered_logsources
Accept SysLogs From Unregistered Logsource
boolean
Flag for adding syslogs from unregistered logsources
Request Example
{
"data": {
"certificate": "client.crt",
"file_location": "public",
"key": "client.key",
"sequence_number": "true",
"syslog_max_log_size_kb": 7,
"accept_syslogs_from_unregistered_logsources": "true"
}
}Success Response
SystemSettingsSyslog - List
List all the keys and certificates in private storage for the requested pool.
GET
Success Response
SystemSettingsSyslog - ListPublic
List all the keys and certificates in public storage.
GET
Success Response
SystemSettingsSyslog - ListSyslogSettings
Lists current syslog settings
GET
Success Response
SystemSettingsSyslog - TrashPrivate
Deletes the file with the provided name from private storage.
DELETE
Parameters
file_name
String
File to be deleted. Mandatory Field.
Success Response
SystemSettingsSyslog - TrashPublic
Deletes the file with the provided name from public storage.
DELETE
Parameters
file_name
String
File to be deleted. Mandatory Field.
Success Response
SystemSettingsSyslog - UploadCertificate
Uploads the certificate and the key to public storage.
POST
Header
Content-Type
multipart/form-data
replace_existing
Change the parameter value to 'true' to replace the existing file with a new one with the same name. Default value is 'false'. Value can only be 'true' or 'false'. Optional field.
Parameters
certificate
Certificate
[Object]
ssl certificate to be uploaded. Mandatory Field.
key
Key
[Object]
ssl key to be uploaded. Mandatory Field.
Success Response
SystemSettingsSyslog - UploadCertificateToPool
Uploads the certificate and the key to private storage.
POST
Header
Content-Type
multipart/form-data
replace_existing
Change the parameter value to 'true' to replace the existing file with a new one with the same name. Default value is 'false'. Value can only be 'true' or 'false'. Optional field.
Parameters
certificate
Certificate
[Object]
ssl certificate to be uploaded. Mandatory Field.
key
Key
[Object]
ssl key to be uploaded. Mandatory Field.
Success Response
Last updated
Was this helpful?