Skip to content

Latest commit

 

History

History
73 lines (56 loc) · 1.35 KB

reference_element_api_getremotelogginghosts.adoc

File metadata and controls

73 lines (56 loc) · 1.35 KB
permalink sidebar keywords summary
api/reference_element_api_getremotelogginghosts.html
sidebar
remote,logging,hosts,host,get,getting,getremotelogginghosts
You can use the GetRemoteLoggingHosts method to get the current list of log servers.

GetRemoteLoggingHosts

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