{"action":"created","issue":{"url":"https://api.github.com/repos/ossec/ossec-hids/issues/1213","repository_url":"https://api.github.com/repos/ossec/ossec-hids","labels_url":"https://api.github.com/repos/ossec/ossec-hids/issues/1213/labels{/name}","comments_url":"https://api.github.com/repos/ossec/ossec-hids/issues/1213/comments","events_url":"https://api.github.com/repos/ossec/ossec-hids/issues/1213/events","html_url":"https://github.com/ossec/ossec-hids/issues/1213","id":246833644,"number":1213,"title":"mysql.schema is missing the data table def","user":{"login":"choadrocker","id":237327,"avatar_url":"https://avatars0.githubusercontent.com/u/237327?v=4","gravatar_id":"","url":"https://api.github.com/users/choadrocker","html_url":"https://github.com/choadrocker","followers_url":"https://api.github.com/users/choadrocker/followers","following_url":"https://api.github.com/users/choadrocker/following{/other_user}","gists_url":"https://api.github.com/users/choadrocker/gists{/gist_id}","starred_url":"https://api.github.com/users/choadrocker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/choadrocker/subscriptions","organizations_url":"https://api.github.com/users/choadrocker/orgs","repos_url":"https://api.github.com/users/choadrocker/repos","events_url":"https://api.github.com/users/choadrocker/events{/privacy}","received_events_url":"https://api.github.com/users/choadrocker/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-07-31T17:55:05Z","updated_at":"2017-08-09T18:35:10Z","closed_at":null,"body":"Should look like this:\r\n\r\n\r\nCREATE TABLE IF NOT EXISTS data\r\n    (\r\n    id              MEDIUMINT   UNSIGNED NOT NULL,\r\n    server_id       SMALLINT    UNSIGNED NOT NULL,\r\n    user            TEXT        NOT NULL,\r\n    full_log        TEXT        NOT NULL,\r\n    PRIMARY KEY (id, server_id)\r\n    );\r\n"},"comment":{"url":"https://api.github.com/repos/ossec/ossec-hids/issues/comments/321343523","html_url":"https://github.com/ossec/ossec-hids/issues/1213#issuecomment-321343523","issue_url":"https://api.github.com/repos/ossec/ossec-hids/issues/1213","id":321343523,"user":{"login":"choadrocker","id":237327,"avatar_url":"https://avatars0.githubusercontent.com/u/237327?v=4","gravatar_id":"","url":"https://api.github.com/users/choadrocker","html_url":"https://github.com/choadrocker","followers_url":"https://api.github.com/users/choadrocker/followers","following_url":"https://api.github.com/users/choadrocker/following{/other_user}","gists_url":"https://api.github.com/users/choadrocker/gists{/gist_id}","starred_url":"https://api.github.com/users/choadrocker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/choadrocker/subscriptions","organizations_url":"https://api.github.com/users/choadrocker/orgs","repos_url":"https://api.github.com/users/choadrocker/repos","events_url":"https://api.github.com/users/choadrocker/events{/privacy}","received_events_url":"https://api.github.com/users/choadrocker/received_events","type":"User","site_admin":false},"created_at":"2017-08-09T18:35:10Z","updated_at":"2017-08-09T18:35:10Z","body":"The absence of this table caused problems. I was forced to recreate it from the PG schema\r\n\r\n```\r\n2017/07/24 18:53:28 ossec-dbd(5203): ERROR: Error executing query 'INSERT INTO data(id, server_id, user, full_log) VALUES ('1', '1', '(null)', 'Jul 24 18:53:26 HOSTNAME sshd[28922]: Did not receive identification string from 10.3.64.38') '. Error: 'Table 'ossec.data' doesn't exist'.\r\n2017/07/24 18:53:28 ossec-dbd(5209): INFO: Closing connection to database.\r\n```"}}
{"actor":{"display_login":"choadrocker"}}