active-timeout

This command sets the timer to close an established and active connection to the server.

Syntax

active-timeout seconds

Parameters

seconds
Sets the number of seconds to wait before the connection is closed. Enter a value in the range 0 - 60. The default value is 0.

Guidelines

The active-timeout command sets the number of seconds to wait before an established and active connection to the server is closed. The default value of 0 allows the log target to most efficiently send messages to the server by maintaining a working connection indefinitely.

Attention: If multiple log targets have the following configuration, they might share connections.
  • The same local address and port
  • The same remote address and port

Because of potential connection-sharing, set the same active timeout for these log targets.

You can use the connect-timeout and idle-timeout connection commands to modify the additional timeout values.
  • The connect timeout sets the number of seconds to wait to establish a connection to the server before an error message is generated.
  • The idle timeout sets the number of seconds to wait before an established, but inactive, connection to the server is closed.