# Ingest logs and events without OneAgent/ActiveGate

**URL:** <https://community.dynatrace.com/t/ingest-logs-and-events-without-oneagent-activegate/50150>\
**Category:** Logs\
**Tags:** log-ingestion, metric-events\
**Created:** [February 7, 2025, 1:46am UTC](https://community.dynatrace.com/t/ingest-logs-and-events-without-oneagent-activegate/50150 "2025-02-07T01:46:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![NickMcEwen](https://avatars.discourse-cdn.com/v4/letter/n/9e8a1a/32.png) [@NickMcEwen](https://community.dynatrace.com/u/NickMcEwen)\
**Post date:** [February 7, 2025, 1:46am UTC](https://community.dynatrace.com/t/ingest-logs-and-events-without-oneagent-activegate/50150/1 "2025-02-07T01:46:44Z")

</div>

We currently using a custom coded baseline “product” that is monitoring our customers cloud environments, it dynamically adds backups, handles the monitoring alerts and log reporting that sends this to Pagerduty via AWS SNS and Pagerduty Events API.

We are looking at migrating these alerts and logs ingestion off Pagerduty to ingesting via Dynatrace API so I am wondering is this also possible to ingest alerts and logs via Dynatrace API similar to what we are doing with Pagerduty obviously this is a custom solution without oneagent or Activegate to ingest CW alerts / metrics.

---

<div class="post-metadata">

**Author:** ![RohitBisht](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/rohitbisht/32/38577_2.png) [@RohitBisht](https://community.dynatrace.com/u/RohitBisht)\
**Post date:** [February 7, 2025, 4:29am UTC](https://community.dynatrace.com/t/ingest-logs-and-events-without-oneagent-activegate/50150/2 "2025-02-07T04:29:16Z")

</div>

Hi&nbsp;[@NickMcEwen](https://community.dynatrace.com/user/80498)&nbsp;,

yes, this is possible. Please see below links to utilize API’s for ingestion .  
Logs

> **[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.

Metrics

> **[Metrics API - POST ingest data points](https://docs.dynatrace.com/docs/dynatrace-api/environment-api/metric-v2/post-ingest-metrics)**
>
> Ingest custom metrics to Dynatrace via Metrics v2 API.

Event

> **[Events API v2 - POST an event](https://docs.dynatrace.com/docs/dynatrace-api/environment-api/events-v2/post-event)**
>
> Ingests an event via the Dynatrace API.

---

<div class="post-metadata">

**Author:** ![NickMcEwen](https://avatars.discourse-cdn.com/v4/letter/n/9e8a1a/32.png) [@NickMcEwen](https://community.dynatrace.com/u/NickMcEwen)\
**Post date:** [February 10, 2025, 1:08am UTC](https://community.dynatrace.com/t/ingest-logs-and-events-without-oneagent-activegate/50150/3 "2025-02-10T01:08:26Z")

</div>

Thank you&nbsp;[@RohitBisht](https://community.dynatrace.com/user/45903)
