The only persistent state kept by Filebeat is the registry file. The location of the registry file is determined by your configuration file. So confirm that your configuration file has the registry located at /var/lib/filebeat/registry. If that's correct, stop the Filebeat service, delete the registry file, then start the Filebeat service.
If that doesn't work, then check the logs to see if there are any errors indexing.
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.