Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

REST API Method: POST /rest/remotelog/{identifier}

Page Tree
rootResource - remotelog

Modifies a Remote Log Configuration Table given a specific Table ID.

URL:

https://134.56.227.163/rest/remotelog/{identifier}

HTTP Method

POST

Requires Authentication:

true



Parameters

Parameter Name Required Service Affecting Data Type Default Value Possible Values Description
ConfigIEStateNoYesEnum1Possible values:
  • 0 - esDISABLED
  • 1 - esENABLED
Specifies the Administrative State of the resource.
DefaultLevelYesNoEnum4Possible values:
  • 0 - llDefault
  • 1 - llTrace
  • 2 - llDebug
  • 3 - llInfo
  • 4 - llWarn
  • 5 - llError
  • 6 - llFatal
  • 7 - llOff
Controls the default minimum severity level of messages sent to this server. This default value can be overridden on a per-system basis via the Subsystems Configuration. Trace will produce the most output, and Fatal will produce the least. The more output generated, the more of an impact this feature has on system performance.
SyslogFacilityYesNoEnum9Possible values:
  • 0 - sfUser
  • 1 - sfKern
  • 2 - sfMail
  • 3 - sfDaemon
  • 4 - sfAuth
  • 5 - sfLpr
  • 6 - sfNews
  • 7 - sfUucp
  • 8 - sfCron
  • 9 - sfLocal0
  • 10 - sfLocal1
  • 11 - sfLocal2
  • 12 - sfLocal3
  • 13 - sfLocal4
  • 14 - sfLocal5
  • 15 - sfLocal6
  • 16 - sfLocal7
Controls which Syslog Facility will be used when sending log entries. This can be used to facilitate the sorting of messages from different nodes on a central Syslog server.
ServerAddressYesNostringnone128 - Max LengthSpecifies the IP address or FQDN of the Syslog server where log entries will be sent.
ServerPortYesNoint514Possible values:
  • 514 - Minimum
  • 65534 - Maximum
Specifies the Syslog server port number where log entries will be sent.
ServerTransportYesNoEnum0Possible values:
  • 0 - stUDP
  • 1 - stTCP
Specifies the protocol to be used for sending log entries to the Syslog server.

Tip
titleHelpful Tip

The POST can contain either only the attributes that are being updated, or the full set of attributes for the resource

Usage Example: (about cURL | requires a session token)

Code Block
languagebash
Put code example here

Response:

Code Block
languagehtml/xml
Put Code response here