{"action":"opened","issue":{"url":"https://api.github.com/repos/bpaquet/node-logstash/issues/125","repository_url":"https://api.github.com/repos/bpaquet/node-logstash","labels_url":"https://api.github.com/repos/bpaquet/node-logstash/issues/125/labels{/name}","comments_url":"https://api.github.com/repos/bpaquet/node-logstash/issues/125/comments","events_url":"https://api.github.com/repos/bpaquet/node-logstash/issues/125/events","html_url":"https://github.com/bpaquet/node-logstash/issues/125","id":151088585,"number":125,"title":"[ ERROR file truncated when I use tail with file input ]","user":{"login":"jerome83136","id":5392480,"avatar_url":"https://avatars.githubusercontent.com/u/5392480?v=3","gravatar_id":"","url":"https://api.github.com/users/jerome83136","html_url":"https://github.com/jerome83136","followers_url":"https://api.github.com/users/jerome83136/followers","following_url":"https://api.github.com/users/jerome83136/following{/other_user}","gists_url":"https://api.github.com/users/jerome83136/gists{/gist_id}","starred_url":"https://api.github.com/users/jerome83136/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerome83136/subscriptions","organizations_url":"https://api.github.com/users/jerome83136/orgs","repos_url":"https://api.github.com/users/jerome83136/repos","events_url":"https://api.github.com/users/jerome83136/events{/privacy}","received_events_url":"https://api.github.com/users/jerome83136/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-26T09:40:30Z","updated_at":"2016-04-26T09:40:30Z","closed_at":null,"body":"Hi,\r\n\r\nI have this kind of errors in my node-logstash logs:\r\n\r\n[Tue, 26 Apr 2016 01:08:53 GMT] ERROR tail: /central_logs/input/prod/webservers/zp2web02/apache/prospect/access_FHM_log: file truncated\r\n\r\nThat seems to happen when I use the \"tail\" option in the file input plugin.\r\nMy input files are Apache's access_logs and they are rotating at 00:00 (before, they were rotating at 03:00 am)\r\n\r\nBut the errors on noge-logstash's logs are happening at ~01:30 am\r\n\r\nHere is the file input section of my node-logstash config file:\r\n\r\n```\r\ninput {\r\n file {\r\n  use_tail => true\r\n  start_index => 0\r\n  path => '/central_logs/input/prod/webservers/zp2web0?/apache/prospect/access_FH?_log'\r\n  type => 'prospect'\r\n }\r\n file {\r\n  use_tail => true\r\n  start_index => 0\r\n  path => '/central_logs/input/prod/webservers/zp2web0?/apache/webshop/access_*MALE_log'\r\n  type => 'webshop'\r\n }\r\n}\r\n```\r\n\r\nAre these errors harmful ? Did I do something wrong ?\r\n\r\nMany thanks for your help\r\n\r\nBest regards\r\n\r\nJérôme"}}