Hello Sylmarch,
You're very much on the right track. So to answer your questions:
Geolocation data is done on the indexer. Filebeat sets up the pipelines to be used by the events indexed, but the pipeline is in the Wazuh indexer.
Yes, updating those files on the Wazuh indexer will update the database used.
Wazuh indexer is based off the OpenSearch project, with each new release we will also update the upstream code which may include updates to files such as the MaxMind database. Since we customize the indexer, if the DB is notably out of date in future releases, we can look into including an update mechanism as part of our packaging.
Let us know if you have any more questions.
Best Regards,
Juan C. Tello