# How ingest server logs to Dynatrace without OneAgent?

**URL:** <https://community.dynatrace.com/t/how-ingest-server-logs-to-dynatrace-without-oneagent/35192>\
**Category:** Logs\
**Tags:** log-monitoring-class, dynatrace-api\
**Created:** [May 18, 2022, 10:41pm UTC](https://community.dynatrace.com/t/how-ingest-server-logs-to-dynatrace-without-oneagent/35192 "2022-05-18T22:41:50Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![michel\_vallee](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@michel\_vallee](https://community.dynatrace.com/u/michel_vallee)\
**Post date:** [May 18, 2022, 10:41pm UTC](https://community.dynatrace.com/t/how-ingest-server-logs-to-dynatrace-without-oneagent/35192/1 "2022-05-18T22:41:50Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Fin\_Ubels](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/fin_ubels/32/18008_2.png) [@Fin\_Ubels](https://community.dynatrace.com/u/Fin_Ubels)\
**Post date:** [May 19, 2022, 3:56am UTC](https://community.dynatrace.com/t/how-ingest-server-logs-to-dynatrace-without-oneagent/35192/2 "2022-05-19T03:56:16Z")

</div>

Hey michel\_vallee,

Log ingestion without an agent is possible through the Dynatrace API. Below is the documentation page for that.

> **[Log Monitoring API v2 - POST ingest logs](https://docs.dynatrace.com/docs/dynatrace-api/environment-api/log-monitoring-v2/post-ingest-logs)**
>
> Push custom logs to Dynatrace via the Log Monitoring API v2.

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.

---

<div class="post-metadata">

**Author:** ![Fin\_Ubels](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/fin_ubels/32/18008_2.png) [@Fin\_Ubels](https://community.dynatrace.com/u/Fin_Ubels)\
**Post date:** [May 20, 2022, 4:00am UTC](https://community.dynatrace.com/t/how-ingest-server-logs-to-dynatrace-without-oneagent/35192/3 "2022-05-20T04:00:54Z")

</div>

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:

> **[Stream logs to Dynatrace with Logstash](https://docs.dynatrace.com/docs/analyze-explore-automate/log-monitoring/acquire-log-data/stream-logs-to-dynatrace-with-logstash-classic)**
>
> Integrate Logstash to stream logs from nodes and pods to Dynatrace.

> **[Stream logs to Dynatrace with Fluentd on Kubernetes](https://docs.dynatrace.com/docs/analyze-explore-automate/log-monitoring/acquire-log-data/stream-logs-fluentd-k8s-classic)**
>
> Integrate Fluentd with Dynatrace to stream logs from nodes and pods to Dynatrace.

---

<div class="post-metadata">

**Author:** ![michel\_vallee](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@michel\_vallee](https://community.dynatrace.com/u/michel_vallee)\
**Post date:** [May 20, 2022, 11:43am UTC](https://community.dynatrace.com/t/how-ingest-server-logs-to-dynatrace-without-oneagent/35192/4 "2022-05-20T11:43:48Z")

</div>

Thanks for the feedback, are these tools also recommended to be used on a traditional VM (outside of k8s)?

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [May 20, 2022, 12:13pm UTC](https://community.dynatrace.com/t/how-ingest-server-logs-to-dynatrace-without-oneagent/35192/5 "2022-05-20T12:13:27Z")

</div>

[@michel\_vallee](https://community.dynatrace.com/user/8720)&nbsp;yes, it’s not tied to Kubernetes in any way.

---

<div class="post-metadata">

**Author:** ![michel\_vallee](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@michel\_vallee](https://community.dynatrace.com/u/michel_vallee)\
**Post date:** [May 20, 2022, 12:15pm UTC](https://community.dynatrace.com/t/how-ingest-server-logs-to-dynatrace-without-oneagent/35192/6 "2022-05-20T12:15:16Z")

</div>

That’s what I thought, but I wanted to make sure. Thank you
