And this is my filebeat configuration file aggregated so it can fit
filebeat:
# List of prospectors to fetch data.
prospectors:
- C:\Filebeat\log\*.txt
encoding: utf-8
input_type: log
document_type: log
registry_file: "C:/ProgramData/filebeat/registry"
utput:
### Elasticsearch as output
elasticsearch:
hosts: ["192.168.110.100:9200"]
index: "filebeat"
File as output
file:
# Path to the directory where to save the generated files. The option is mandatory.
path: C:\filebeat\Logs\outPut
# Name of the generated files. The default is `filebeat` and it generates files: `filebeat`, `filebeat.1`, `filebeat.2`, etc.
filename: filebeat
logging:
rotateeverybytes: 10485760 # = 10MB