Hello Jose,
The
<geoipdb> option is only used if the Wazuh manager is compiled from sources using the USE_GEOIP Makefile option.
By default Wazuh does geoIP enrichment in the indexer using the
geoip pipeline which is configured in the file
/usr/share/filebeat/module/wazuh/alerts/ingest/pipeline.json (
source available here) .
On that file the fields that will receive geoip enrichment are specified, in the case of O365 that is data.office365.ClientIP and for AWS it is data.aws.sourceIPAddress (it's unclear in your question which one you are not seeing enriched). Bear in mind that only public IPs can be enriched as local network addresses do not provide any location information.
If you let us know if you have any more questions.
Best Regards,
Juan C. Tello