{"action":"created","issue":{"url":"https://api.github.com/repos/apache/storm/issues/848","labels_url":"https://api.github.com/repos/apache/storm/issues/848/labels{/name}","comments_url":"https://api.github.com/repos/apache/storm/issues/848/comments","events_url":"https://api.github.com/repos/apache/storm/issues/848/events","html_url":"https://github.com/apache/storm/pull/848","id":114865552,"number":848,"title":"[STORM-902] Simple Log Search","user":{"login":"zhuoliu","id":11683054,"avatar_url":"https://avatars.githubusercontent.com/u/11683054?v=3","gravatar_id":"","url":"https://api.github.com/users/zhuoliu","html_url":"https://github.com/zhuoliu","followers_url":"https://api.github.com/users/zhuoliu/followers","following_url":"https://api.github.com/users/zhuoliu/following{/other_user}","gists_url":"https://api.github.com/users/zhuoliu/gists{/gist_id}","starred_url":"https://api.github.com/users/zhuoliu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhuoliu/subscriptions","organizations_url":"https://api.github.com/users/zhuoliu/orgs","repos_url":"https://api.github.com/users/zhuoliu/repos","events_url":"https://api.github.com/users/zhuoliu/events{/privacy}","received_events_url":"https://api.github.com/users/zhuoliu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2015-11-03T17:19:56Z","updated_at":"2015-11-09T17:31:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/storm/pulls/848","html_url":"https://github.com/apache/storm/pull/848","diff_url":"https://github.com/apache/storm/pull/848.diff","patch_url":"https://github.com/apache/storm/pull/848.patch"},"body":"This feature is aimed for greatly improving the debugging of Storm.\r\nSimple Log Search supports following important functionalities:\r\n\r\n1. String search:\r\nIn UI, user can search certain string, e.g., \"Exception\", in for a certain worker log.\r\nThis search can happen for both normal text log or rolled zip log files.\r\n2. Deep search:\r\nUser can search a string for a certain topology, which means the UI will try to search on all the supervisor nodes in a distributed way to find the matched string in all logs for this topology.\r\nThen the matched results can be shown on the UI with url links, directing user to the certain logs on each supervisor node. This powerful feature is very helpful for users to find certain problematic supervisor nodes running this topology.\r\n\r\nAlso, the topology history REST API is added to give typeahead hints for the previously launched topology IDs for a certain user; another REST API (topology-workers) is added for managing the info (host:port) of workers in a topology.\r\nAnd the html files, images files, js file, test resource files and unit tests are added for log search and its tests.\r\n\r\nSnapshots for \"search a worker log\" and \"search a topology's logs\":\r\n\r\n![image](https://issues.apache.org/jira/secure/attachment/12770359/search-for-a-single-worker-log.png)\r\n\r\n![image](https://issues.apache.org/jira/secure/attachment/12770358/search-a-topology.png)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/apache/storm/issues/comments/155133328","html_url":"https://github.com/apache/storm/pull/848#issuecomment-155133328","issue_url":"https://api.github.com/repos/apache/storm/issues/848","id":155133328,"user":{"login":"Parth-Brahmbhatt","id":6914358,"avatar_url":"https://avatars.githubusercontent.com/u/6914358?v=3","gravatar_id":"","url":"https://api.github.com/users/Parth-Brahmbhatt","html_url":"https://github.com/Parth-Brahmbhatt","followers_url":"https://api.github.com/users/Parth-Brahmbhatt/followers","following_url":"https://api.github.com/users/Parth-Brahmbhatt/following{/other_user}","gists_url":"https://api.github.com/users/Parth-Brahmbhatt/gists{/gist_id}","starred_url":"https://api.github.com/users/Parth-Brahmbhatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Parth-Brahmbhatt/subscriptions","organizations_url":"https://api.github.com/users/Parth-Brahmbhatt/orgs","repos_url":"https://api.github.com/users/Parth-Brahmbhatt/repos","events_url":"https://api.github.com/users/Parth-Brahmbhatt/events{/privacy}","received_events_url":"https://api.github.com/users/Parth-Brahmbhatt/received_events","type":"User","site_admin":false},"created_at":"2015-11-09T17:31:27Z","updated_at":"2015-11-09T17:31:27Z","body":"Hi, I am +1 on this patch. Sorry took me longer to review than I expected. Thank a lot for your contributions."}}