While running Wazuh 4.3.10 I wanted to extend the baseline MaxMind GeoIP database with company specific information. I built my own custom GeoIP DB with mmdb format, deployed it into the /etc/wazuh-indexer/ingest-geoip/filename.mmdb. Updated the ingest pipeline configuration (in /usr/share/filebeat/module/wazuh/alerts/ingest/pipeline.json ) to add processors such as:
{
"geoip": {
"field": "data.srcip",
"target_field": "GeoLocation",
"properties": ["city_name", "country_name", "region_name", "location"],
"database_file": "filename.mmdb",
"first_only": false,
"ignore_missing": true,
"ignore_failure": true,
"description": "data.srcip dbfile intlocal"
}
},
This approached worked with Wazuh 3 and ELK, it worked with Wazuh 4.3.10, but when upgrading to Wazuh 4.4.0 it seems to have stopped working and I cannot figure out why.