Click or drag to resize

SolidFireElementSetRemoteLoggingHostsAsync Method (SetRemoteLoggingHostsRequest, CancellationToken)

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#
public Task<SetRemoteLoggingHostsResult> SetRemoteLoggingHostsAsync(
	SetRemoteLoggingHostsRequest obj,
	CancellationToken cancellationToken
)

Parameters

obj
Type: SolidFire.Element.ApiSetRemoteLoggingHostsRequest
cancellationToken
Type: System.ThreadingCancellationToken

Return Value

Type: TaskSetRemoteLoggingHostsResult

Implements

ISolidFireElementSetRemoteLoggingHostsAsync(SetRemoteLoggingHostsRequest, CancellationToken)
See Also