Skip to main content

General Information

Connection Type

UI Documentation

Endpoints

List Connections

Get Connection

Create Connection

Update Connection

Delete Connection


List Connections

Endpoint

Request

Headers

Path Parameters

Note: The type query parameter is required to filter connections by type.

cURL Example


Get Connection

Endpoint

Request

Headers

Path Parameters

Response

Success Response (200 OK)

cURL Example


Create Connection

Endpoint

Request

Headers

Path Parameters

Request Body

Full JSON Body Example - Basic UDP Connection
Full JSON Body Example - TCP with SSL
Full JSON Body Example - RFC 5425 Format
Request Body Fields
Common Fields
Syslog-Specific Fields

EnumSyslogProtocolType (syslogProtocolType)

  • TCP - TCP transport (reliable, ordered delivery, supports SSL)
  • UDP - UDP transport (faster, but unreliable, no SSL support)

MessageFormat (syslogMessageFormat)

  • RFC_3164 - BSD Syslog Protocol (RFC 3164)
  • RFC_5424 - The Syslog Protocol (RFC 5424)
  • RFC_5425 - Transport Layer Security (TLS) Transport Mapping for Syslog (RFC 5425)

Facility (syslogFacility)

  • KERN - Kernel messages
  • USER - User-level messages
  • MAIL - Mail system
  • DAEMON - System daemons
  • AUTH - Security/authorization messages
  • SYSLOG - Messages generated internally by syslogd
  • LPR - Line printer subsystem
  • NEWS - Network news subsystem
  • UUCP - UUCP subsystem
  • CRON - Clock daemon
  • AUTHPRIV - Security/authorization messages (private)
  • FTP - FTP daemon
  • NTP - NTP subsystem
  • AUDIT - Log audit
  • ALERT - Log alert
  • CLOCK - Clock daemon
  • LOCAL0 - Local use 0
  • LOCAL1 - Local use 1
  • LOCAL2 - Local use 2
  • LOCAL3 - Local use 3
  • LOCAL4 - Local use 4
  • LOCAL5 - Local use 5
  • LOCAL6 - Local use 6
  • LOCAL7 - Local use 7

Severity (syslogSeverity)

  • EMERGENCY - System is unusable
  • ALERT - Action must be taken immediately
  • CRITICAL - Critical conditions
  • ERROR - Error conditions
  • WARNING - Warning conditions
  • NOTICE - Normal but significant condition
  • INFORMATIONAL - Informational messages
  • DEBUG - Debug-level messages

Notes

  • syslogServerHostname is required.
  • syslogPort defaults to 514 (standard Syslog port).
  • syslogProtocolType defaults to TCP.
  • syslogSslEnabled is only applicable for TCP connections.
  • syslogTimeout is only used for TCP connections.
  • syslogMessageHostname can be used by some cloud Syslog services to transmit secret keys.
  • syslogAppName defaults to “Apinizer”.
  • syslogMessageFormat defaults to RFC_3164 (BSD Syslog).
  • RFC_5425 format typically uses port 6514 (TLS Syslog).

Response

Success Response (200 OK)

cURL Example


Update Connection

Endpoint

Request

Headers

Path Parameters

Request Body

Full JSON Body Example
Note: Request body structure is the same as Create Connection. All fields should be provided for update.

Response

Success Response (200 OK)


Delete Connection

Endpoint

Request

Headers

Path Parameters

Response

Success Response (200 OK)


Notes and Warnings

  • Protocol Types:
    • TCP - Reliable, ordered delivery. Supports SSL/TLS encryption. Recommended for production.
    • UDP - Faster, but unreliable. No SSL support. Use for high-throughput scenarios where message loss is acceptable.
  • Message Formats:
    • RFC_3164 - BSD Syslog Protocol (legacy, widely supported)
    • RFC_5424 - Modern Syslog Protocol (structured data support)
    • RFC_5425 - TLS Transport Mapping (RFC 5424 over TLS, typically uses port 6514)
  • Ports:
    • Standard Syslog port: 514 (UDP/TCP)
    • TLS Syslog port: 6514 (TCP with SSL)
  • SSL/TLS:
    • syslogSslEnabled: true enables SSL/TLS encryption (TCP only)
    • Use RFC_5425 format for TLS Syslog (port 6514)
    • UDP does not support SSL/TLS
  • Facility:
    • Facility codes identify the source of the message
    • Standard facilities: KERN, USER, MAIL, DAEMON, AUTH, etc.
    • Local facilities: LOCAL0 through LOCAL7 (custom use)
    • Default: AUDIT
  • Severity:
    • Severity levels indicate message importance
    • Lower numeric values indicate higher severity
    • Default: INFORMATIONAL
  • Timeout:
    • syslogTimeout is only used for TCP connections
    • Default: 500ms
    • Increase for slow networks or high-latency connections
  • Message Hostname:
    • syslogMessageHostname is included in syslog messages
    • Some cloud Syslog services use this field to transmit secret keys
    • Can be different from syslogServerHostname
  • Application Name:
    • syslogAppName identifies the application sending logs
    • Default: “Apinizer”
    • Useful for filtering logs by application
  • Deployment: Connection changes require deployment to take effect. Set deployToWorker: true or deploy manually.