파일 요청이 5.x logstash로 보내주십시오.로그 파일의 데이터를 강제로 재 작성하는 방법 5
내가 filebeat
에서 "파일 포인터를"다시 어떻게이
- How to force Logstash to reparse a file?
- https://discuss.elastic.co/t/how-do-i-reset-the-file-pointer-in-filebeats/49440
나는 모든 elasticsearch의 데이터를 청소 유사한 문제의 삭제 /var/lib/filebeat/registry
. 그러나 filebeat는 새 행만 출하합니다.
변경 registry_file는 파일의 (파일을 삭제 같은 문제가) 새로운 파일로 저장 오프셋 filebeat.registry_file: registry
파일 서버를 중지 한 다음 '/ var/lib/filebeat/registry'를 삭제하십시오. 그리고 그것의 작품. 그것은 내 문제, 귀하의 회신에 감사드립니다. –