18 May 2022 11:41 PM - last edited on 19 May 2022 02:28 PM by MaciejNeumann
Hello I believe it is possible to transmit logs to Dynatrace of servers without having to install a OneAgent?
If yes, could you tell me which tool I should use in this context? I read some documentation about this for Kubernetes, but I couldn't find a documentation for a traditional server.
Thank you
Solved! Go to Solution.
19 May 2022 04:56 AM
Hey michel_vallee,
Log ingestion without an agent is possible through the Dynatrace API. Below is the documentation page for that.
https://www.dynatrace.com/support/help/dynatrace-api/environment-api/log-monitoring-v2/post-ingest-l...
Using the API method of ingestion you can configure plenty of custom attributes to sort your logs with as well as customize exactly which logs and which lines are transmitted through to Dynatrace. This method will however require you to build log forwarding either into your existing processes or create processes to handle this for you.
20 May 2022 05:00 AM
Just adding onto the above there are also integrations Dynatrace has with Logstash and Fluentd for streaming logs which again does not require a OneAgent but it requires you to be using one of those tools.
Docs for those:
https://www.dynatrace.com/support/help/how-to-use-dynatrace/log-monitoring/acquire-log-data/stream-l...
https://www.dynatrace.com/support/help/how-to-use-dynatrace/log-monitoring/acquire-log-data/stream-l...
20 May 2022 12:43 PM
Thanks for the feedback, are these tools also recommended to be used on a traditional VM (outside of k8s)?
20 May 2022 01:13 PM
@michel_vallee yes, it's not tied to Kubernetes in any way.
20 May 2022 01:15 PM
That's what I thought, but I wanted to make sure. Thank you