the filebeat docs have a small paragraph about how filebeat works, explaining the harvester and its registry, that hopefully answers some of your questions.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.