system-syslog-tcp-senders

Retrieves transmit statistics for syslog TCP senders.

Command properties

PropertyDescription
Command typeDriver query
Required permissionCluster administrator
License usageNot counted
Parallel executionNot supported
Distributed executionNot supported

Syntax

system-syslog-tcp-senders

Output fields

FieldTypeDescription
remote_ipipaddrIP address of the destination server
remote_portintegerPort number of the destination server
framingstringTCP framing method. LF or RFC6587
is_connectedbooleanCurrent TCP connection status. true if connected
sent_countlongNumber of successfully transmitted messages
dropped_countlongNumber of messages dropped due to transmit failure
queued_countlongNumber of messages waiting to be transmitted
sent_byteslongTotal data size successfully transmitted (bytes)
dropped_byteslongTotal data size dropped due to transmit failure (bytes)
queued_byteslongTotal data size waiting to be transmitted (bytes)
last_connect_timetimestampMost recent time a TCP connection was established
first_sent_timetimestampTime of the first message transmission
last_sent_timetimestampTime of the most recent message transmission

Error codes

Parsing errors
Error codeMessageDescription
95050no-read-permissionThe user does not have cluster administrator permission
Runtime errors

N/A

Description

The system-syslog-tcp-senders command retrieves statistics for syslog TCP senders configured in Logpresso. For each destination server, you can check the connection status, sent/queued/dropped counts and sizes, and the first and most recent transmission times.

The framing field indicates the TCP framing method and takes one of the following values:

  • LF: Messages are delimited by a line feed (LF) character.
  • RFC6587: Octet counting method as defined in RFC 6587.

Cluster administrator permission is required. Running this command without administrator permission causes a parsing error.

Examples

  1. Retrieve all syslog TCP sender status

    system-syslog-tcp-senders
    

    Retrieves statistics for all configured syslog TCP senders.

  2. Retrieve disconnected senders

    system-syslog-tcp-senders
    | search is_connected == false
    

    Filters and retrieves only senders whose TCP connection is currently disconnected.

  3. Retrieve senders with dropped messages

    system-syslog-tcp-senders
    | search dropped_count > 0
    

    Filters and retrieves only senders that have dropped messages to assess the scope of message loss.

Change history

The system-syslog-tcp-senders command is available since version 5.0.2603.0.