Debug line with all properties: FROMHOST: '', fromhost-ip: '172.17.128.1', HOSTNAME: 'host', PRI: 134, syslogtag 'app[postgres.1646467]', programname: 'app', APP-NAME: 'app', PROCID: 'postgres.1646467', MSGID: '-', TIMESTAMP: 'Jul 15 18:00:11', STRUCTURED-DATA: '[DATABASE]', msg: '[23-1] sql_error_code = 00000 time_ms = "2026-07-15 18:00:11.286 UTC" pid="1787782" proc_start_time="2026-07-15 18:00:00 UTC" session_id="6a57caa0.1b4786" vtid="9/756770" tid="0" log_line="4" database="ddvvgu681gm35p" connection_source="10.0.152.162(41704)" user="uc0g389cnbt72e" application_name="[unknown]" LOG: duration: 10592.085 ms execute : select distinct on ("stream_id") "streams"."external_id", "streams"."id", "streams"."owner_id", "streams"."updated_at", "streams"."type", "projections"."projection" from "streams" inner join "projections" on "projections"."stream_id" = "streams"."id" left join jsonb_array_elements(projections.projection->'plugins') plugins on true where "streams"."type" = $1 and "projections"."version" = $2 and CAST("projections"."projection"#>>'{org62AccountId}' AS text) not in ($3) and 1 = $4 or CAST("plugins"#>>'{data,solutionId}' AS text) IN ('') limit $5' escaped msg: '[23-1] sql_error_code = 00000 time_ms = "2026-07-15 18:00:11.286 UTC" pid="1787782" proc_start_time="2026-07-15 18:00:00 UTC" session_id="6a57caa0.1b4786" vtid="9/756770" tid="0" log_line="4" database="ddvvgu681gm35p" connection_source="10.0.152.162(41704)" user="uc0g389cnbt72e" application_name="[unknown]" LOG: duration: 10592.085 ms execute : select distinct on ("stream_id") "streams"."external_id", "streams"."id", "streams"."owner_id", "streams"."updated_at", "streams"."type", "projections"."projection" from "streams" inner join "projections" on "projections"."stream_id" = "streams"."id" left join jsonb_array_elements(projections.projection->'plugins') plugins on true where "streams"."type" = $1 and "projections"."version" = $2 and CAST("projections"."projection"#>>'{org62AccountId}' AS text) not in ($3) and 1 = $4 or CAST("plugins"#>>'{data,solutionId}' AS text) IN ('') limit $5' inputname: drain rawmsg: '<134>1 2026-07-15T18:00:11+00:00 host app postgres.1646467 - [DATABASE] [23-1] sql_error_code = 00000 time_ms = "2026-07-15 18:00:11.286 UTC" pid="1787782" proc_start_time="2026-07-15 18:00:00 UTC" session_id="6a57caa0.1b4786" vtid="9/756770" tid="0" log_line="4" database="ddvvgu681gm35p" connection_source="10.0.152.162(41704)" user="uc0g389cnbt72e" application_name="[unknown]" LOG: duration: 10592.085 ms execute : select distinct on ("stream_id") "streams"."external_id", "streams"."id", "streams"."owner_id", "streams"."updated_at", "streams"."type", "projections"."projection" from "streams" inner join "projections" on "projections"."stream_id" = "streams"."id" left join jsonb_array_elements(projections.projection->'plugins') plugins on true where "streams"."type" = $1 and "projections"."version" = $2 and CAST("projections"."projection"#>>'{org62AccountId}' AS text) not in ($3) and 1 = $4 or CAST("plugins"#>>'{data,solutionId}' AS text) IN ('') limit $5' $!:{ "metadata": { "httpheaders": { "host": "appx-staging-drain-4bd9f585e48c.herokuapp.com", "user-agent": "logfwd", "content-length": "46566", "accept-encoding": "gzip", "content-type": "application\/logplex-1", "logplex-drain-token": "d.2257363d-e289-4fca-980f-d26509782992", "logplex-frame-id": "698ffa6e-d8e3-4074-be9b-def48ce05f0d", "logplex-msg-count": "76", "server": "Heroku", "via": "1.1 spaces-router (205a6c14d3af)", "x-forwarded-for": "52.72.79.163", "x-forwarded-port": "443", "x-forwarded-proto": "https", "x-request-id": "85d2fa5e-2d71-c817-f0f6-9675b5555cb5", "x-request-start": "1784138411670" }, "queryparams": { "app": "appx-oaf-staging", "space": "appexchange-primary", "service": "appexchange", "team": "sfdc-platform-ecosystem" } }, "data": { "event": "[23-1] sql_error_code = 00000 time_ms = \"2026-07-15 18:00:11.286 UTC\" pid=\"1787782\" proc_start_time=\"2026-07-15 18:00:00 UTC\" session_id=\"6a57caa0.1b4786\" vtid=\"9\/756770\" tid=\"0\" log_line=\"4\" database=\"ddvvgu681gm35p\" connection_source=\"10.0.152.162(41704)\" user=\"uc0g389cnbt72e\" application_name=\"[unknown]\" LOG: duration: 10592.085 ms execute : select distinct on (\"stream_id\") \"streams\".\"external_id\", \"streams\".\"id\", \"streams\".\"owner_id\", \"streams\".\"updated_at\", \"streams\".\"type\", \"projections\".\"projection\" from \"streams\" inner join \"projections\" on \"projections\".\"stream_id\" = \"streams\".\"id\" left join jsonb_array_elements(projections.projection->'plugins') plugins on true where \"streams\".\"type\" = $1 and \"projections\".\"version\" = $2 and CAST(\"projections\".\"projection\"#>>'{org62AccountId}' AS text) not in ($3) and 1 = $4 or CAST(\"plugins\"#>>'{data,solutionId}' AS text) IN ('') limit $5", "source": "heroku.app", "sourcetype": "-", "hostname": "d.2257363d-e289-4fca-980f-d26509782992", "agent_timestamp": "2026-07-15T18:00:11+00:00", "tags_schema_id": "any6:1", "tags": { "dyno": "postgres.1646467", "app": "appx-oaf-staging", "space": "appexchange-primary", "region": "-", "severity": "info", "uuid": "d2b5b31d-2db1-4389-940d-0e73e0f64b0b" }, "owner": { "service": "appexchange", "team": "sfdc-platform-ecosystem", "environment": "-", "cloud": "-" } } } $.:{ "app_id": "d.2257363d-e289-4fca-980f-d26509782992", "source": "app", "dyno": "postgres.1646467", "app": "appx-oaf-staging", "space": "appexchange-primary", "region": "-", "team": "sfdc-platform-ecosystem", "service": "appexchange", "sourcetype": "-", "environment": "-", "cloud": "-", "business_unit": "Heroku", "type": "log", "inc": 0, "format": "text", "dynadir": "debug" } $/: Debug line with all properties: FROMHOST: '', fromhost-ip: '172.17.128.1', HOSTNAME: 'host', PRI: 134, syslogtag 'app[postgres.1646467]', programname: 'app', APP-NAME: 'app', PROCID: 'postgres.1646467', MSGID: '-', TIMESTAMP: 'Jul 15 18:00:11', STRUCTURED-DATA: '[DATABASE]', msg: '[23-2] sql_error_code = 00000 time_ms = "2026-07-15 18:00:11.286 UTC" pid="1787782" proc_start_time="2026-07-15 18:00:00 UTC" session_id="6a57caa0.1b4786" vtid="9/756770" tid="0" log_line="5" database="ddvvgu681gm35p" connection_source="10.0.152.162(41704)" user="uc0g389cnbt72e" application_name="[unknown]" DETAIL: parameters: $1 = 'listing', $2 = 'oafv1', $3 = '0013000000HkkOAAAZ', $4 = '0', $5 = '2000'' escaped msg: '[23-2] sql_error_code = 00000 time_ms = "2026-07-15 18:00:11.286 UTC" pid="1787782" proc_start_time="2026-07-15 18:00:00 UTC" session_id="6a57caa0.1b4786" vtid="9/756770" tid="0" log_line="5" database="ddvvgu681gm35p" connection_source="10.0.152.162(41704)" user="uc0g389cnbt72e" application_name="[unknown]" DETAIL: parameters: $1 = 'listing', $2 = 'oafv1', $3 = '0013000000HkkOAAAZ', $4 = '0', $5 = '2000'' inputname: drain rawmsg: '<134>1 2026-07-15T18:00:11+00:00 host app postgres.1646467 - [DATABASE] [23-2] sql_error_code = 00000 time_ms = "2026-07-15 18:00:11.286 UTC" pid="1787782" proc_start_time="2026-07-15 18:00:00 UTC" session_id="6a57caa0.1b4786" vtid="9/756770" tid="0" log_line="5" database="ddvvgu681gm35p" connection_source="10.0.152.162(41704)" user="uc0g389cnbt72e" application_name="[unknown]" DETAIL: parameters: $1 = 'listing', $2 = 'oafv1', $3 = '0013000000HkkOAAAZ', $4 = '0', $5 = '2000'' $!:{ "metadata": { "httpheaders": { "host": "appx-staging-drain-4bd9f585e48c.herokuapp.com", "user-agent": "logfwd", "content-length": "46566", "accept-encoding": "gzip", "content-type": "application\/logplex-1", "logplex-drain-token": "d.2257363d-e289-4fca-980f-d26509782992", "logplex-frame-id": "698ffa6e-d8e3-4074-be9b-def48ce05f0d", "logplex-msg-count": "76", "server": "Heroku", "via": "1.1 spaces-router (205a6c14d3af)", "x-forwarded-for": "52.72.79.163", "x-forwarded-port": "443", "x-forwarded-proto": "https", "x-request-id": "85d2fa5e-2d71-c817-f0f6-9675b5555cb5", "x-request-start": "1784138411670" }, "queryparams": { "app": "appx-oaf-staging", "space": "appexchange-primary", "service": "appexchange", "team": "sfdc-platform-ecosystem" } }, "data": { "event": "[23-2] sql_error_code = 00000 time_ms = \"2026-07-15 18:00:11.286 UTC\" pid=\"1787782\" proc_start_time=\"2026-07-15 18:00:00 UTC\" session_id=\"6a57caa0.1b4786\" vtid=\"9\/756770\" tid=\"0\" log_line=\"5\" database=\"ddvvgu681gm35p\" connection_source=\"10.0.152.162(41704)\" user=\"uc0g389cnbt72e\" application_name=\"[unknown]\" DETAIL: parameters: $1 = 'listing', $2 = 'oafv1', $3 = '0013000000HkkOAAAZ', $4 = '0', $5 = '2000'", "source": "heroku.app", "sourcetype": "-", "hostname": "d.2257363d-e289-4fca-980f-d26509782992", "agent_timestamp": "2026-07-15T18:00:11+00:00", "tags_schema_id": "any6:1", "tags": { "dyno": "postgres.1646467", "app": "appx-oaf-staging", "space": "appexchange-primary", "region": "-", "severity": "info", "uuid": "d2b5b31d-2db1-4389-940d-0e73e0f64b0b" }, "owner": { "service": "appexchange", "team": "sfdc-platform-ecosystem", "environment": "-", "cloud": "-" } } } $.:{ "app_id": "d.2257363d-e289-4fca-980f-d26509782992", "source": "app", "dyno": "postgres.1646467", "app": "appx-oaf-staging", "space": "appexchange-primary", "region": "-", "team": "sfdc-platform-ecosystem", "service": "appexchange", "sourcetype": "-", "environment": "-", "cloud": "-", "business_unit": "Heroku", "type": "log", "inc": 0, "format": "text", "dynadir": "debug" } $/: