{"action":"created","issue":{"url":"https://api.github.com/repos/iaintshine/fluent-plugin-esslowquery/issues/1","repository_url":"https://api.github.com/repos/iaintshine/fluent-plugin-esslowquery","labels_url":"https://api.github.com/repos/iaintshine/fluent-plugin-esslowquery/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/iaintshine/fluent-plugin-esslowquery/issues/1/comments","events_url":"https://api.github.com/repos/iaintshine/fluent-plugin-esslowquery/issues/1/events","html_url":"https://github.com/iaintshine/fluent-plugin-esslowquery/pull/1","id":117896407,"number":1,"title":"Adjust regex to allow spaces in severity","user":{"login":"jdoss","id":8195,"avatar_url":"https://avatars.githubusercontent.com/u/8195?v=3","gravatar_id":"","url":"https://api.github.com/users/jdoss","html_url":"https://github.com/jdoss","followers_url":"https://api.github.com/users/jdoss/followers","following_url":"https://api.github.com/users/jdoss/following{/other_user}","gists_url":"https://api.github.com/users/jdoss/gists{/gist_id}","starred_url":"https://api.github.com/users/jdoss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdoss/subscriptions","organizations_url":"https://api.github.com/users/jdoss/orgs","repos_url":"https://api.github.com/users/jdoss/repos","events_url":"https://api.github.com/users/jdoss/events{/privacy}","received_events_url":"https://api.github.com/users/jdoss/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-19T20:03:49Z","updated_at":"2016-02-16T18:23:17Z","closed_at":"2016-02-16T18:23:17Z","pull_request":{"url":"https://api.github.com/repos/iaintshine/fluent-plugin-esslowquery/pulls/1","html_url":"https://github.com/iaintshine/fluent-plugin-esslowquery/pull/1","diff_url":"https://github.com/iaintshine/fluent-plugin-esslowquery/pull/1.diff","patch_url":"https://github.com/iaintshine/fluent-plugin-esslowquery/pull/1.patch"},"body":"When Elasticsearch has TRACE and DEBUG (5 characters long) slow log levels enabled on an index and an INFO or WARN (4 characters long) slow log entry is generated it will put a space at the end of INFO or WARN in the log output. For example:\r\n\r\n```[2015-11-19 14:53:11,224][INFO ][index.search.slowlog.query] [data-02] [my_cool_index][10] took[20.7s], took_millis[20706], types[], stats[], search_type[QUERY_THEN_FETCH], total_shards[10], source[], extra_source[]```\r\n\r\nWhich doesn't match the current regex. This PR will address that issue."},"comment":{"url":"https://api.github.com/repos/iaintshine/fluent-plugin-esslowquery/issues/comments/184811376","html_url":"https://github.com/iaintshine/fluent-plugin-esslowquery/pull/1#issuecomment-184811376","issue_url":"https://api.github.com/repos/iaintshine/fluent-plugin-esslowquery/issues/1","id":184811376,"user":{"login":"jdoss","id":8195,"avatar_url":"https://avatars.githubusercontent.com/u/8195?v=3","gravatar_id":"","url":"https://api.github.com/users/jdoss","html_url":"https://github.com/jdoss","followers_url":"https://api.github.com/users/jdoss/followers","following_url":"https://api.github.com/users/jdoss/following{/other_user}","gists_url":"https://api.github.com/users/jdoss/gists{/gist_id}","starred_url":"https://api.github.com/users/jdoss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdoss/subscriptions","organizations_url":"https://api.github.com/users/jdoss/orgs","repos_url":"https://api.github.com/users/jdoss/repos","events_url":"https://api.github.com/users/jdoss/events{/privacy}","received_events_url":"https://api.github.com/users/jdoss/received_events","type":"User","site_admin":false},"created_at":"2016-02-16T18:23:17Z","updated_at":"2016-02-16T18:23:17Z","body":":+1: on a more strict regex. Closing this PR."}}