# Monitor Wazuh

**URL:** <https://community.dynatrace.com/t/monitor-wazuh/48912>\
**Category:** Open Q&A\
**Tags:** custom-app, coding-assistance\
**Created:** [November 15, 2024, 10:47am UTC](https://community.dynatrace.com/t/monitor-wazuh/48912 "2024-11-15T10:47:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Salma\_berechid](https://avatars.discourse-cdn.com/v4/letter/s/c5a1d2/32.png) [@Salma\_berechid](https://community.dynatrace.com/u/Salma_berechid)\
**Post date:** [November 15, 2024, 10:47am UTC](https://community.dynatrace.com/t/monitor-wazuh/48912/1 "2024-11-15T10:47:42Z")

</div>

Hello,

We have a customer that want to monitor Wazuh (&nbsp;_Wazuh_&nbsp;is a free and open source security platform that unifies XDR and SIEM protection for endpoints and cloud workloads. ) . This wazuh is developped using Python and C/C++ so we need to use OneAgent SDK but we don’t know how to do this on an open source platform.

Can anyone help please?

Salma

---

<div class="post-metadata">

**Author:** ![MostafaHussein](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mostafahussein/32/2785_2.png) [@MostafaHussein](https://community.dynatrace.com/u/MostafaHussein)\
**Post date:** [November 15, 2024, 2:40pm UTC](https://community.dynatrace.com/t/monitor-wazuh/48912/2 "2024-11-15T14:40:01Z")

</div>

Hi&nbsp;[@Salma\_berechid](https://community.dynatrace.com/user/80656)&nbsp;,

after quick investigation i found that Wazuh has multiple workarounds to integrate with Dynatrace and versa

1. API metric ,log and event ingestion (the easiest way)

you can make custom integration from Wazuh due to [this reference](https://documentation.wazuh.com/current/user-manual/manager/integration-with-external-apis.html#custom-integration) to send data to Dynatrace APIs.

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

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

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

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

2. Activegate extension that can pull data from Wazuh endpoints then start sending metrics, events and logs to Dynatrace.

> **[Reference - Wazuh server API · Wazuh documentation](https://documentation.wazuh.com/current/user-manual/api/reference.html)**
>
> The Wazuh API is an open source RESTful API that allows for interaction with the Wazuh manager. Learn more about it in this section of our documentation.

and this link for how to develop extension in Dynatrace&nbsp;[https://developer.dynatrace.com/develop/dynatrace-extensions-vscode/guides/create\_extension/](https://developer.dynatrace.com/develop/dynatrace-extensions-vscode/guides/create_extension/)

3. OneAgent SDK is usually is used to extend traces not for custom apps, it depends on the purpose of this extension is it for Real user monitor or for Server Side Monitoring, if you’re going to extend traces there’s no need to you need first to has access to Wazuh backend code. please check this [link](https://docs.dynatrace.com/docs/shortlink/oneagent-sdk#what-you-can-do-with-dynatrace-oneagent-sdk) that showing what can you do with OneAgent SDK, also check this is a [great article](https://www.dynatrace.com/news/blog/extend-ai-based-root-cause-analysis-with-oneagent-sdk) explaining how OneAgent SDK can involved with root cause analysis.

BR,  
Mostafa Hussein.
