GetRemoteLoggingHosts

Contributors netapp-mwallis amgrissino Download PDF of this page

You can use the GetRemoteLoggingHosts method to get the current list of log servers.

Parameters

This method has no input parameters.

Return value

This method has the following return value:

Name Description Type

remoteHosts

List of IP address and port information about hosts configured to receive forwarded logging information.

Request example

Requests for this method are similar to the following example:

{
   "id": 3386609,
   "method": "GetRemoteLoggingHosts",
   "params": {}
}

Response example

This method returns a response similar to the following example:

{
   "id": 3386609,
   "result": {
      "remoteHosts": [
         {
           "host": "172.16.1.20",
           "port": 10514
         },
         {
           "host": "172.16.1.25"
         }
      ]
   }
}

New since version

9.6

Find more information