Hi Tomas
Yes, i've tried to integrate Wazuh with Thehive following the blog but I have this problems:
1.- when I add the scripts like the blog the alerts are coming from good when meanwhile the time passing by the alerts start to coming slow or the alerts showing in alerts tab or page hours later or even a day later. 
like this example below: 
This is the last alert coming from Wazuh
at 17:23 today january 04 2023
but in Wazuh this alert was generated at 11:44 today
So the alerts are coming from Wazuh too late and Thehive show in alerts tab hours later or even a day later
even if I see the alert counter I have 9868 alerts in the alerts page or tab 
but here below in this part show a different number 
or if a check the platform status 
I have  9879 alerts 
So with this I can confirm that I have alerts delayed or coming from Wazuh but they are coming too slow 
Only when I restart wazuh the alerts start to coming from fast again but when the time goes by, the alerts are delayed again
In fact here you can see my files with the scripts 
and I have my block in /var/ossec/etc/ossec.conf. with my api key and my url to Thehive like this 
<integration>
    <name>custom-w2thive</name>
    <hook_url>
http://url:9000</hook_url>
    <api_key>21udajdaoiX3qghdadylJ8q27UR</api_key>
    <alert_format>json</alert_format>
  </integration>
I don't know what happened or what the problem is here. Maybe the resources because I'm using a test machine to try Thehive. 
maybe another solution to receive the alerts from Wazuh in Thehive??
or how I can fix or try to fix this problem ???
Thanks in advanced for your answer Tomas.