{"action":"opened","issue":{"url":"https://api.github.com/repos/fluent/fluentd/issues/1921","repository_url":"https://api.github.com/repos/fluent/fluentd","labels_url":"https://api.github.com/repos/fluent/fluentd/issues/1921/labels{/name}","comments_url":"https://api.github.com/repos/fluent/fluentd/issues/1921/comments","events_url":"https://api.github.com/repos/fluent/fluentd/issues/1921/events","html_url":"https://github.com/fluent/fluentd/issues/1921","id":310701626,"number":1921,"title":"Td-agent sometimes stop parsing logs to elasticsearch","user":{"login":"agarwalshivam456","id":22490622,"avatar_url":"https://avatars2.githubusercontent.com/u/22490622?v=4","gravatar_id":"","url":"https://api.github.com/users/agarwalshivam456","html_url":"https://github.com/agarwalshivam456","followers_url":"https://api.github.com/users/agarwalshivam456/followers","following_url":"https://api.github.com/users/agarwalshivam456/following{/other_user}","gists_url":"https://api.github.com/users/agarwalshivam456/gists{/gist_id}","starred_url":"https://api.github.com/users/agarwalshivam456/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agarwalshivam456/subscriptions","organizations_url":"https://api.github.com/users/agarwalshivam456/orgs","repos_url":"https://api.github.com/users/agarwalshivam456/repos","events_url":"https://api.github.com/users/agarwalshivam456/events{/privacy}","received_events_url":"https://api.github.com/users/agarwalshivam456/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-03T05:45:44Z","updated_at":"2018-04-03T05:45:44Z","closed_at":null,"author_association":"NONE","body":"\r\n**td-agent version:**\r\nroot@lb # td-agent-gem --version\r\n2.6.13\r\n\r\n**OS:**\r\nroot@lb # lsb_release -a\r\nNo LSB modules are available.\r\nDistributor ID: Ubuntu\r\nDescription:    Ubuntu 14.04.4 LTS\r\nRelease:        14.04\r\nCodename:       trusty\r\n\r\n\r\n**Configuration:**\r\n<source>\r\n  @type tail\r\n  path /var/log/db-backup-monitoring.log #...or where you placed your Apache access log\r\n  pos_file /var/log/td-agent/db-backup-monitoring.log.pos # This is where you record file position\r\n  tag shivam.error\r\n  format /^(?<date>[^ ]*) (?<size>[^ ]*).* (?<dbname>[^ ]*)$/\r\n  time_format %d-%m-%Y\r\n</source>\r\n\r\n<match shivam.erro*>\r\n @type elasticsearch\r\n host 192.168.1.247 # elasticsearch IP\r\n port 9200\r\n include_timestamp true\r\n logstash_format true\r\n logstash_prefix backup-monitoring\r\n logstash_dateformat %Y\r\n index_name testing.%Y%m\r\n</match>\r\n\r\n\r\nI am parsing a self created log file by running a cron at specific time once in a day which contain only 10 records and append the logs to exist file, sometimes it doesn't detect log rotation (once or twice in a week) so don't parse the logs to elastic-search.\r\n\r\nPlease let me know the problem what i'm not noticing.\r\nIs this somehow related to buffer ?\r\n"}}
{"actor":{"display_login":"agarwalshivam456"}}