Any one ran into this problem: log files generated by a Linux system which is stored as *.log, can not be parsed in windows environment.
Specifically, I have my logstash conf to read *.log files in a folder: the Linux OS generated ones could not be parsed, and the windows can.
I then tried to copy paste contents in the Linux generated log files in a new txt file and then it worked.
I can't figure out why. Does anyone know? Thanks!
My conf file is as follows:
input {
stdin {}
file {
path => "C:/1LOGS/test1/data//file.log"
start_position => beginning
}
}
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.