Open Q&A
If there's no good subforum for your question - ask it here!
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Debugging faulty API access tenant side?

AntonioSousa
DynaMight Guru
DynaMight Guru

I have debugged API access inside dt.system.events, using several approaches (origin.address,authentication.token, etc.), but I don't seem to get errors. I can get successful ones, but not those giving 401s/404s/etc.
I understand that these might lead to lot's of issues, but is there a way to tackling this?

Antonio Sousa
1 REPLY 1

sujit_k_singh
Champion

Hi @AntonioSousa 

I think this is expected behaviour, becuase dt.system.events and audit logs primarily record authorized, successful operations.  I mean to say rejections like 401 or 404 are dropped at the edge/gateway proxy layer before reaching the internal event-logging pipeline.

Worth checking: Settings → Preferences → Log audit events is enabled (captures config-changing API calls), but again this only helps for calls that succeeded and made a change ,  not blocked/failed ones.

Here are the primary ways to troubleshoot these: Check ActiveGate HTTP Logs: If traffic passes through an ActiveGate, check its local access.log  It captures HTTP status codes (401, 403, 404).

Dynatrace Support (For Tenant Edge Logs): SaaS edge proxies drop unauthenticated traffic to prevent log flooding, so raw 401/404 logs aren't exposed in DQL. If you are troubleshooting a specific issue, then i feel best option is a support ticket.

 

Thanks,

Sujit

Dynatrace Professional Certified

Featured Posts