Skip to main content
Solved

How can I send Heroku logs to Cribl Stream/Edge?

  • March 11, 2025
  • 1 reply
  • 10 views

I am interested in sending Heroku logs to Stream. Has anyone ever done this before?

Best answer by padilla

Hi! You can use Heroku Syslog or HTTPS drains to send logs to Stream.

For Syslog, configure a Syslog source and enter the following at the Heroku CLI.

heroku drains:add syslog+tls://<host>:<port> -a <heroku-app>
heroku drains:add syslog://<host>:<port> -a <heroku-app>

For HTTPS, configure the Stream HTTP source, configure TLS, and enter the following at the Heroku CLI

heroku drains:add https://<host>:<port>/cribl/_bulk -a <heroku-app>

Do note that Logplex does not validate your worker cert during the TLS handshake.

1 reply

  • Employee
  • Answer
  • March 11, 2025

Hi! You can use Heroku Syslog or HTTPS drains to send logs to Stream.

For Syslog, configure a Syslog source and enter the following at the Heroku CLI.

heroku drains:add syslog+tls://<host>:<port> -a <heroku-app>
heroku drains:add syslog://<host>:<port> -a <heroku-app>

For HTTPS, configure the Stream HTTP source, configure TLS, and enter the following at the Heroku CLI

heroku drains:add https://<host>:<port>/cribl/_bulk -a <heroku-app>

Do note that Logplex does not validate your worker cert during the TLS handshake.