{"action":"created","issue":{"url":"https://api.github.com/repos/vadimpilyugin/log_parser/issues/1","repository_url":"https://api.github.com/repos/vadimpilyugin/log_parser","labels_url":"https://api.github.com/repos/vadimpilyugin/log_parser/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/vadimpilyugin/log_parser/issues/1/comments","events_url":"https://api.github.com/repos/vadimpilyugin/log_parser/issues/1/events","html_url":"https://github.com/vadimpilyugin/log_parser/issues/1","id":238166371,"number":1,"title":"Не срабатывает шаблон","user":{"login":"zhum","id":336958,"avatar_url":"https://avatars0.githubusercontent.com/u/336958?v=3","gravatar_id":"","url":"https://api.github.com/users/zhum","html_url":"https://github.com/zhum","followers_url":"https://api.github.com/users/zhum/followers","following_url":"https://api.github.com/users/zhum/following{/other_user}","gists_url":"https://api.github.com/users/zhum/gists{/gist_id}","starred_url":"https://api.github.com/users/zhum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhum/subscriptions","organizations_url":"https://api.github.com/users/zhum/orgs","repos_url":"https://api.github.com/users/zhum/repos","events_url":"https://api.github.com/users/zhum/events{/privacy}","received_events_url":"https://api.github.com/users/zhum/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-06-23T14:53:42Z","updated_at":"2017-06-24T15:50:18Z","closed_at":null,"body":"В файле ntp.yml есть строка:\r\n```\r\n  - 'receive: KoD packet from \\S+ has inconsistent .* timestamps. Ignoring'\r\n```\r\nТе не менее, строка\r\n```\r\nreceive: KoD packet from 93.180.9.5 has inconsistent xmt/org/rec timestamps. Ignoring.\r\n```\r\nне подходит под него в отчёте."},"comment":{"url":"https://api.github.com/repos/vadimpilyugin/log_parser/issues/comments/310846630","html_url":"https://github.com/vadimpilyugin/log_parser/issues/1#issuecomment-310846630","issue_url":"https://api.github.com/repos/vadimpilyugin/log_parser/issues/1","id":310846630,"user":{"login":"vadimpilyugin","id":20249782,"avatar_url":"https://avatars1.githubusercontent.com/u/20249782?v=3","gravatar_id":"","url":"https://api.github.com/users/vadimpilyugin","html_url":"https://github.com/vadimpilyugin","followers_url":"https://api.github.com/users/vadimpilyugin/followers","following_url":"https://api.github.com/users/vadimpilyugin/following{/other_user}","gists_url":"https://api.github.com/users/vadimpilyugin/gists{/gist_id}","starred_url":"https://api.github.com/users/vadimpilyugin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vadimpilyugin/subscriptions","organizations_url":"https://api.github.com/users/vadimpilyugin/orgs","repos_url":"https://api.github.com/users/vadimpilyugin/repos","events_url":"https://api.github.com/users/vadimpilyugin/events{/privacy}","received_events_url":"https://api.github.com/users/vadimpilyugin/received_events","type":"User","site_admin":false},"created_at":"2017-06-24T15:50:18Z","updated_at":"2017-06-24T15:50:18Z","body":"А вы добавили новый формат лога? Если лог выглядит именно так, как эта строка, то ему нужен свой формат, отличный от Syslog. Я проверил, если записать строку как \r\n`May 01 00:00:00 servname ntp[5555]: receive: KoD packet from 93.180.9.5 has inconsistent xmt/org/rec timestamps. Ignoring.`\r\nто парсинг проводится успешно, строка распознается как принадлежащая к серверу servname и подходящая под шаблон. "}}
{"actor":{"display_login":"vadimpilyugin"}}