Logging

Crunchy Bridge has logging integration to allow you to send your logs from your Postgres database to another logging-as-a-service provider.

All logs are sent over TLS and verify the provider's certificate. You can configure your logging integration for a database in the logging configuration panel.

Crunchy Bridge currently supports any logging provider that has a public certificate available within AlmaLinux 8.

Logging provider set up

You can set up a new logging destination in the Logging section of a cluster's settings. The setup guide will walk you step by step through integrating with one of the major logging providers.

Logging can also be configured from the CLI with cb logdest.

Postgres log settings

See more in the Postgres docs about log settings.

Additional set up details

New relic

Host: newrelic.syslog.nr-data.net
Template: YOUR_LICENSE_KEY <${PRI}>1 ${ISODATE} ${HOST:--} ${PROGRAM:--} ${PID:--} ${MSGID:--} ${SDATA:--} $MSG\n
Port: 6514
Documentation

Datadog

Host: intake.logs.datadoghq.com
Template: YOURAPIKEY <${PRI}>1 ${ISODATE} ${HOST:--} ${PROGRAM:--} ${PID:--} ${MSGID:--} ${SDATA:--} $MSG\n
Port: 10516
Documentation

LogDNA (now Mezmo)

Host: syslog-a.logdna.com
Template: <${PRI}>1 ${ISODATE} ${HOST} ${PROGRAM} ${PID} ${MSGID} [logdna@48950 key=\"**INSERT-YOUR-INGESTION-KEY-HERE**\"] $MSG\n
Port: 6514
Documentation

LogEntries (Rapid7 InsightOps)

Host: data.logentries.com
(where REGION is us or eu)
Template: TOKEN_HERE $ISODATE $HOST $MSG\n
Port: 443
Documentation

Loggly

Host: logs-01.loggly.com
Template: <${PRI}>1 ${ISODATE} ${HOST} ${PROGRAM} ${PID} ${MSGID} [TOKEN@41058 tag=\"TAG\" ] $MSG\n
Port: 6514
Documentation

Logtail (Better Stack)

Host: in.logtail.com
Template: <$PRI>1 $ISODATE $HOST $PROGRAM $PID ${MSGID:--} [logtail@11993 source_token=\"YOUR_LOGTAIL_SOURCE_TOKEN\"] $MSG\n
Port: 6514
Documentation

Papertrail

Hostname: logsN.papertrailapp.com
(Where N is some integer)
Port: per-user
Template: The default is accepted. Some plans support IP restrictions (which may work with AWS if IPv6 is supported)
Documentation

SumoLogic

Host: syslog.collection.YOUR_DEPLOYMENT.sumologic.com
Template: <$PRI>1 $ISODATE $HOST $PROGRAM $PID $MSGID [TOKEN@41123] $MSG\n
Port: 6514
Documentation