question

Julius L. avatar image
Julius L. asked ·

Displaying Oneagent logs in Dynatrace

Is there a way how to display Oneagent logs in Dynatrace UI?

I cannot see any logs produced by Oneagent or by instrumentation (for example /opt/dynatrace/oneagent/log/java/) in Dynatrace UI even if I define path to log files manually. Regular log files produced by applications can be displayed.

This would really speed up problem determination in case when don't have access to host with oneagent installed.


oneagentlog monitoring
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Pawel B. avatar image
Pawel B. answered ·

We can configure specific environment to include our internal logs in special cases. Please open a support call and mention my name in case they need help with directions how to do this.

1 comment Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

This is no longer necessary, as the support archive can finally be downloaded for agents (available from Dynatrace v156). This really helps and speeds up resolving of encountered issues.

0 Likes 0 · ·
Pawel B. avatar image
Pawel B. answered ·

Hi Julius, is it a standard use case for you as a customer to look into agent logs ?

3 comments Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Yes it is. Especially if you have to deal with agent/instrumentation problems as implementation partners. Even (enterprise) customer personnel responsible for APM/monitoring tools typically does not have administrative access across all servers. This might be valid for startups, but I've rarely seen it in enterprises.

I wonder why it has to be so difficult to debug agent problems by viewing logs, if the functionality (log viewer / log download) is already there. Just downloading agent log files would be enough.

0 Likes 0 · ·

Who says it's difficult ? You just have to define your role right. So you are not an end customer, you are a VAR/partner that administers your customer's installations. I assume it is Dynatrace managed we are talking about ?

0 Likes 0 · ·

Both SaaS and Managed. Just imagine if you are dealing with any problems when something is not working as expected. If you don't have administrative access to systems with oneagent, you are unable to effectively determine root cause or handle support tickets in case of any issues with agent, plugins or injections.

Asking sysadmins (or anybody else who has administrative access) to copy log files over every time, just to look into oneagent log files is at least uncomfortable. Especially when Dynatrace already has the functionality to view and download any other log file.

So yes, it's difficult :-) You have to manually log into target systems to view oneagent log files. For any other file, it's already in the product.

1 Like 1 · ·

Space Topics

mobile monitoring dotnet synthetic monitoring reports iis chat kubernetes servicenow amazon web services mysql mainframe rest api errors cassandra dashboard oneagent sdk cmc application monitoring openkit smartscape request attributes monitoring developer community user tagging log monitoring services ufo syntheticadvisory activegate ip addresses auto-detection high five award oracle hyperion webserver uem usql iib test automation license web performance monitoring ios news migration management zones index ibm mq web services custom event alerts notifications sso host monitoring knowledge sharing reports browser monitors java hybris sap vmware maintenance window user action naming javascript appmon ai synthetic classic availability tipstricks automation extensions diagnostic tools session replay permissions davis assistant faq documentation problem detection http monitors server easytravel apdex aws-quickstart network docker tags and metadata cloud foundry google cloud platform synthetic monitoring process groups account usability dynatrace saas gui paas openshift key user actions administration user actions postgresql synthetic locations oneagent security Dynatrace Managed user management custom python technologies mongodb openstack user session monitoring continuous delivery citrix configuration alerting NGINX action naming linux nam installation masking error reporting database mission control jmeter recorder apache mobileapp RUM php threshold azure purepath davis scripting agent aix nodejs android