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

Kubernetes logging - can see everything but logs?

mehdi_b
Visitor

Hi 

 

I am trialling the dynatrace solution.

 

I have installed the classic integration on my kubernetes cluster (hosted on AKS but using the k8s agent)

 

I seem to see metrics et al, excepts logs of my pods.

 

cf below to show that the stuff seems to run alright

mehdi_b_0-1662484345405.png

 

I understand that for application instrumentation, I need to redeploy the pods.. which I did

 

As I said dynatrace seems to give the metrics fine and even the smartscape topology is building up nicely.. but I am desperate to see the logs produced by pods or from instrumented java applications.

 

mehdi_b_1-1662484506567.png

 

Keen to hear if someone has pointers to share

 

Best regards

 

Mehdi

3 REPLIES 3

Mizső
Helper

Hi mehdi_b,

 

I have just set up a logging for a springboot app in an onprem OP cluster. It works fine. Application log can be seen.

Mizs_0-1662497012170.png

It is not clear for me what is your dynakube instumentation type? classicfullstack? or something else? As far as I know app only instrumentation id not support the log monitoring yet.

 

What was your log monitoring configuration steps? Have you already done these steps?

 

1. Logstorage configuration, DT server restart required at managed env, in saas I don not know.

Mizs_1-1662497409399.png

2. Log monitoring v2 should be switched on.

Mizs_2-1662497530803.png

3. Process or host level log source configuration (example):

Mizs_3-1662497874927.png

 

Log monitoring documentation:

Log Monitoring | Dynatrace Docs

 

I hope it helps.

 

Br, Mizső

 

 

 

 

Certified Dynatrace Associate

mehdi_b
Visitor

thank you very much @Mizső !

I didn't realise that by default kubernetes log monitoring isn't enabled by default.

Below doc clarifies this point

https://www.dynatrace.com/support/help/shortlink/log-monitoring-kubernetes#logstorageK8

 

Mizső
Helper

Hi mehdi_b,

 

Your welcome!

 

Br, Mizső

Certified Dynatrace Associate