I configured filebeat to pull two types of log files and my config looks something like this.
filebeat:
prospectors:
- input_type: log
paths:
- C:\softwares\syslog
fields: {log_type: syslog}
- input_type: log
paths:
- C:\softwares\cdr_test.log
fields: {log_type: cdr}
However I am getting error saying did not find the key. I am not able to find the point of error.
Any inputs are appreciated. Thank you in advance for the assistance.