Reset Search
 

 

Article

KB43715 - Error "Invalid value for identifier server" is returned when specifying a port number with IP address for syslog server using Rest API command or XML

« Go Back

Information

 
Last Modified Date4/16/2018 11:34 PM
Synopsis
This article describes an issue that occurs when using Rest API to add a syslog server to the PCS configuration.  If a port is specified with the IP address of the syslog server the following error occurs when importing the changes:
"Invalid value for identifier server".
 
Problem or Goal

While trying to configure syslog server, the Rest API POST command works for IP address, however, when specifying the port number with the IP address the following error is returned:

"Invalid value for identifier server."


Command used for POST:

 

https://10.10.10.10/api/v1/configuration/system/log/events-log-settings/syslog/localhost2/syslog-servers/syslog-server

{ "client-cert": "Select Client Cert", "communication-type": "udp", "facility": "local-zero", "filter": "Standard", "server": "1.2.3.4:567" }

Resulting error:

{
"result": {
"errors": [

{ "message": "[/system/log/events-log-settings/syslog[node=localhost2]/syslog-servers/syslog-server
[server=,facility=local-zero,filter=###invalid###]/server] Invalid Address: 10.9.8.7:414" }
,

{ "message": "[/system/log/events-log-settings/syslog[node=localhost2]/syslog-servers] 
Invalid value for identifier server" }

 
Cause
This issue caused by a code defect in the XML import function that causes a custom port entry for a Syslog server to not be recognized.  
 

 

Solution
This issue is fixed in PCS OS 8.3R5 and up.

 
Related Links
Attachment 1 
Created ByKaren Mayberry

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255