cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Logs on Heroku?

amithgeorge
Frequent Guest

Hi, 

I have a clojure (JVM) application running on Heroku. We log to STDOUT using logback library. We are running the DynaTrace buildpack. The distributed traces are showing properly. However the logs don't show up. Is there an example of how to integrate logback and DynaTrace, while running on Heroku/logging to STDOUT? 

I am told our DynaTrace setup is using Logs v2, not the Classic v1. 

 

 

4 REPLIES 4

radek_jasinski
DynaMight Guru
DynaMight Guru

Hi,

I have not come across such an integration. You could try creating an extension to DT or a simple script that parses your log and sends the necessary information to DT via the API. You are interested in the API related to metrics (https://www.dynatrace.com/support/help/dynatrace-api/environment-api/metric-v2/post-ingest-metrics)

Radek

Have a nice day!

amithgeorge
Frequent Guest

We did find a workaround using Heroku drains, fluentd and DT logs ingest http apis. This was a lot of work, and still requires us to maintain a fluentd installation. I am interested in the built-in integration mentioned here - https://www.dynatrace.com/support/help/observe-and-explore/logs/log-management-and-analytics/lma-log...

What is the logback integration mentioned above? How does that work? 

 

First question..what type of Dynatrace are you using? Managed or SaaS?

Have a nice day!

amithgeorge
Frequent Guest

We are using SaaS. 

Featured Posts