cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Looking to upgrade from Dynatrace Managed to SaaS? See how

Dynatrace environments usage report

daniil_kochetov
Contributor

Hello.

Our Dynatrace managed installation contains multiple environments. Each environment dedicated to particular application and supposed to be used by defined support teams. In order to provide them with the best service I need to know how often every environment accessed by the support guys: do they really use Dynatrace or we are wasting our host unit licenses on it or what kind of reports they run most often.

Is there any way to figure out using any kind of system log?

I think access.log analogue would be sufficient end enough.

 

3 REPLIES 3

alonso_decosio
Inactive

If you have two Dynatrace managed environments, you can instrument you DT servers with the OneAgent. That way you can get RUM data and analyze it like a normal web application.

You can also take a look at the Audit logs to get the information that you are looking for https://www.dynatrace.com/support/help/how-to-use-dynatrace/data-privacy-and-security/configuration/...


Radoslaw_Szulgo
Dynatrace Guru
Dynatrace Guru

What you need is actually audit.user.log available at each cluster node. This is a sample entry:

2020-01-21 09:37:11 UTC {"eventType":"LOGIN","tenantId":"environment-identifier-uuid","userId":"radoslaw.s","userIdType":"USER_NAME","userOrigination":"Forwarded: 1.2.3.4","sessionId":"3213123213","identity":"your.node.ip","identityCategory":"WEB_UI","success":true,"timestamp":1579599431280,"message":null,"jsonPatch":null}

To have a full overview, you need to process log files from all cluster nodes.


Senior Product Manager,
Dynatrace Managed expert

rastislav_danis
DynaMight Pro
DynaMight Pro

easiest to execute is api call (f.e. for last 1 day): curl -X GET "https://<your_environment>/api/v2/auditlogs?filter=eventType%28LOGIN%29&from=now-1d&sort=-timestamp" -H "accept: application/json; charset=utf-8" -H "Authorization: Api-Token <your_api_token_with_auditlog_rights>"

first you need to enable audit logs (use link in previous post)


Alanata a.s.

Featured Posts