How can I send Heroku logs to Cribl Stream/Edge?
I am interested in sending Heroku logs to Stream. Has anyone ever done this before?
Best Answer
-
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.
0
Answers
-
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.
0