Click or drag to resize

ISolidFireElementSetRemoteLoggingHostsAsync Method (CancellationToken, LoggingServer)

SetRemoteLoggingHosts enables you to configure remote logging from the nodes in the storage cluster to a centralized log server or servers. Remote logging is performed over TCP using the default port 514. This API does not add to the existing logging hosts. Rather, it replaces what currently exists with new values specified by this API method. You can use GetRemoteLoggingHosts to determine what the current logging hosts are, and then use SetRemoteLoggingHosts to set the desired list of current and new logging hosts.

Namespace:  SolidFire.Element.Api
Assembly:  SolidFire.SDK (in SolidFire.SDK.dll) Version: 12.3.0.0
Syntax
C#
Task<SetRemoteLoggingHostsResult> SetRemoteLoggingHostsAsync(
	CancellationToken cancellationToken,
	LoggingServer[] RemoteHosts
)

Parameters

cancellationToken
Type: System.ThreadingCancellationToken
RemoteHosts
Type: SolidFire.Element.ApiLoggingServer

Return Value

Type: TaskSetRemoteLoggingHostsResult
See Also