Hi,
I am having 5 files, names of those files are xyz0.log ,xyz1.log,.....xyz4.log and in that file there is a text :"my name is tom".
now I am runing filebeat its only give one output to me ,but it harvest to all file and not give all five as output why?It give only one file as output.
When i change the text of my output file ,eg "my name is jerry" then it not update that output file and i not get single output.
so my question is why it not show five output ,when it harvest five file,and my second question is that how i update my file.And get output
Filebeat does tail files, so it checks if content was append to the files. If the file length stays the same, it cannot detect changes. In your example above, I would expect filebeat to ship ry the first time you change it. Filebeat should tail all 5 files. Did you clean the registry file before "retesting"? Can you share your config file?
Filebeat persists the state so it can continue where it finished the last time. This state is persisted in the registry file. The path to the registry file is in your case registry_file: "C:/ProgramData/filebeat/registry". If you want a fresh start, remove this file.
Can you run filebeat with the options -e -d "*" and share the output? Or set the logging level to debug and share the log file. This should show all information needed to get further details on what is going on here.
Can you please post the log files as text. It is very hard to read the screenshots and makes it impossible to search inside. Also then you can post the hole log file at once. Puting it into a gist and link it here also works.
I am done with this problem @ruflin . Now I am facing problem of duplicate.
I have one folder of log in which there are 10 files and i get 42 hits in my elastic search.
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.