Skip to main content
Element Software

GetRemoteLoggingHosts

Contributors netapp-pcarriga amgrissino

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

Parameters

There are no input parameters for GetRemoteLoggingHosts.

Return value

The GetRemoteLoggingHosts method has the following return value:

Name Description Type

remoteHosts

Lists the IP address, FQDN, 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"
         },
         {
            "host": "syslogs.lab.company.net",
            "port": 514
         }
      ]
   }
}

New since version

Available beginning with ONTAP 9.6.

Find more information