18 May 2022
03:41 PM
- last edited on
19 May 2022
06:28 AM
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.
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.
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...
Thanks for the feedback, are these tools also recommended to be used on a traditional VM (outside of k8s)?
@michel_vallee yes, it's not tied to Kubernetes in any way.
That's what I thought, but I wanted to make sure. Thank you