{"action":"created","comment":{"url":"https://api.github.com/repos/kaaproject/kaa/pulls/comments/68937180","id":68937180,"diff_hunk":"@@ -0,0 +1,195 @@\n+---\n+layout: page\n+title: Rest log appender\n+permalink: /:path/\n+nav: /:path/Programming-guide/Key-platform-features/Data-collection/Rest-log-appender\n+sort_idx: 90\n+---\n+\n+{% assign root_url = page.url | split: '/'%}\n+{% capture root_url  %} /{{root_url[1]}}/{{root_url[2]}}/{% endcapture %}\n+\n+\n+\n+* TOC\n+{:toc}\n+\n+The REST log appender is responsible for transferring logs from Operation server to your custom service.\n+\n+# Creating REST log appender with Admin UI\n+\n+The easiest way to create a Cassandra log appender for your application is by using Admin UI.\n+\n+To create a log appender for access via REST, do the following:\n+\n+1. In the **Log appenders** window, click **Add log appender**.\n+2. Enter the log appender name and description, select the minimum and maximum supported log schema version, and select necessary log metadata fields.\n+3. Set the log appender type to _REST_.\n+4. Fill in other fields as required.\n+5. Click **Add** button. Log appender is ready and operational at this point.\n+\n+![Add log appender in Admin UI](attach/add-log-appender-in-admin-ui.png)\n+\n+\n+It's also possible to create REST appender using [Admin REST API]({{root_url}}Programming-guide/Server-REST-APIs #TODO).\n+\n+# Configuration\n+\n+The Admin REST log appender configuration must match to\n+[this](https://github.com/kaaproject/kaa/blob/master/server/appenders/rest-appender/src/main/avro/rest-appender-config.avsc) Avro schema.\n+\n+Parameters for defining REST log appender\n+\n+|parameter|description|\n+|---|---|\n+|connectionPoolSize|number of threads that can simultaneously perform operation with your service|","path":"doc/Programming-guide/Key-platform-features/Data-collection/Rest-log-appender/index.md","position":45,"original_position":45,"commit_id":"011708cdf56bf82e128c6adda55a24838366b3d9","original_commit_id":"011708cdf56bf82e128c6adda55a24838366b3d9","user":{"login":"Slash32","id":19823389,"avatar_url":"https://avatars.githubusercontent.com/u/19823389?v=3","gravatar_id":"","url":"https://api.github.com/users/Slash32","html_url":"https://github.com/Slash32","followers_url":"https://api.github.com/users/Slash32/followers","following_url":"https://api.github.com/users/Slash32/following{/other_user}","gists_url":"https://api.github.com/users/Slash32/gists{/gist_id}","starred_url":"https://api.github.com/users/Slash32/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Slash32/subscriptions","organizations_url":"https://api.github.com/users/Slash32/orgs","repos_url":"https://api.github.com/users/Slash32/repos","events_url":"https://api.github.com/users/Slash32/events{/privacy}","received_events_url":"https://api.github.com/users/Slash32/received_events","type":"User","site_admin":false},"body":"number of threads that can simultaneously perform operation**s** with your service","created_at":"2016-06-29T12:32:15Z","updated_at":"2016-06-29T12:32:15Z","html_url":"https://github.com/kaaproject/kaa/pull/746#discussion_r68937180","pull_request_url":"https://api.github.com/repos/kaaproject/kaa/pulls/746","_links":{"self":{"href":"https://api.github.com/repos/kaaproject/kaa/pulls/comments/68937180"},"html":{"href":"https://github.com/kaaproject/kaa/pull/746#discussion_r68937180"},"pull_request":{"href":"https://api.github.com/repos/kaaproject/kaa/pulls/746"}}},"pull_request":{"url":"https://api.github.com/repos/kaaproject/kaa/pulls/746","id":73510288,"html_url":"https://github.com/kaaproject/kaa/pull/746","diff_url":"https://github.com/kaaproject/kaa/pull/746.diff","patch_url":"https://github.com/kaaproject/kaa/pull/746.patch","issue_url":"https://api.github.com/repos/kaaproject/kaa/issues/746","number":746,"state":"open","locked":false,"title":"KAA-1130: Programming guide -> Data collection","user":{"login":"sashadidukh","id":12672198,"avatar_url":"https://avatars.githubusercontent.com/u/12672198?v=3","gravatar_id":"","url":"https://api.github.com/users/sashadidukh","html_url":"https://github.com/sashadidukh","followers_url":"https://api.github.com/users/sashadidukh/followers","following_url":"https://api.github.com/users/sashadidukh/following{/other_user}","gists_url":"https://api.github.com/users/sashadidukh/gists{/gist_id}","starred_url":"https://api.github.com/users/sashadidukh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sashadidukh/subscriptions","organizations_url":"https://api.github.com/users/sashadidukh/orgs","repos_url":"https://api.github.com/users/sashadidukh/repos","events_url":"https://api.github.com/users/sashadidukh/events{/privacy}","received_events_url":"https://api.github.com/users/sashadidukh/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-12T23:05:17Z","updated_at":"2016-06-29T12:32:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f964856d18d6c01d2a4becec9ce3810969e5df85","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/kaaproject/kaa/pulls/746/commits","review_comments_url":"https://api.github.com/repos/kaaproject/kaa/pulls/746/comments","review_comment_url":"https://api.github.com/repos/kaaproject/kaa/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kaaproject/kaa/issues/746/comments","statuses_url":"https://api.github.com/repos/kaaproject/kaa/statuses/011708cdf56bf82e128c6adda55a24838366b3d9","head":{"label":"sashadidukh:feature/KAA-1130","ref":"feature/KAA-1130","sha":"011708cdf56bf82e128c6adda55a24838366b3d9","user":{"login":"sashadidukh","id":12672198,"avatar_url":"https://avatars.githubusercontent.com/u/12672198?v=3","gravatar_id":"","url":"https://api.github.com/users/sashadidukh","html_url":"https://github.com/sashadidukh","followers_url":"https://api.github.com/users/sashadidukh/followers","following_url":"https://api.github.com/users/sashadidukh/following{/other_user}","gists_url":"https://api.github.com/users/sashadidukh/gists{/gist_id}","starred_url":"https://api.github.com/users/sashadidukh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sashadidukh/subscriptions","organizations_url":"https://api.github.com/users/sashadidukh/orgs","repos_url":"https://api.github.com/users/sashadidukh/repos","events_url":"https://api.github.com/users/sashadidukh/events{/privacy}","received_events_url":"https://api.github.com/users/sashadidukh/received_events","type":"User","site_admin":false},"repo":{"id":55413494,"name":"kaa","full_name":"sashadidukh/kaa","owner":{"login":"sashadidukh","id":12672198,"avatar_url":"https://avatars.githubusercontent.com/u/12672198?v=3","gravatar_id":"","url":"https://api.github.com/users/sashadidukh","html_url":"https://github.com/sashadidukh","followers_url":"https://api.github.com/users/sashadidukh/followers","following_url":"https://api.github.com/users/sashadidukh/following{/other_user}","gists_url":"https://api.github.com/users/sashadidukh/gists{/gist_id}","starred_url":"https://api.github.com/users/sashadidukh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sashadidukh/subscriptions","organizations_url":"https://api.github.com/users/sashadidukh/orgs","repos_url":"https://api.github.com/users/sashadidukh/repos","events_url":"https://api.github.com/users/sashadidukh/events{/privacy}","received_events_url":"https://api.github.com/users/sashadidukh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sashadidukh/kaa","description":"Kaa open-source middleware platform for building, managing, and integrating connected products with the Internet of Everything.","fork":true,"url":"https://api.github.com/repos/sashadidukh/kaa","forks_url":"https://api.github.com/repos/sashadidukh/kaa/forks","keys_url":"https://api.github.com/repos/sashadidukh/kaa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sashadidukh/kaa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sashadidukh/kaa/teams","hooks_url":"https://api.github.com/repos/sashadidukh/kaa/hooks","issue_events_url":"https://api.github.com/repos/sashadidukh/kaa/issues/events{/number}","events_url":"https://api.github.com/repos/sashadidukh/kaa/events","assignees_url":"https://api.github.com/repos/sashadidukh/kaa/assignees{/user}","branches_url":"https://api.github.com/repos/sashadidukh/kaa/branches{/branch}","tags_url":"https://api.github.com/repos/sashadidukh/kaa/tags","blobs_url":"https://api.github.com/repos/sashadidukh/kaa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sashadidukh/kaa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sashadidukh/kaa/git/refs{/sha}","trees_url":"https://api.github.com/repos/sashadidukh/kaa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sashadidukh/kaa/statuses/{sha}","languages_url":"https://api.github.com/repos/sashadidukh/kaa/languages","stargazers_url":"https://api.github.com/repos/sashadidukh/kaa/stargazers","contributors_url":"https://api.github.com/repos/sashadidukh/kaa/contributors","subscribers_url":"https://api.github.com/repos/sashadidukh/kaa/subscribers","subscription_url":"https://api.github.com/repos/sashadidukh/kaa/subscription","commits_url":"https://api.github.com/repos/sashadidukh/kaa/commits{/sha}","git_commits_url":"https://api.github.com/repos/sashadidukh/kaa/git/commits{/sha}","comments_url":"https://api.github.com/repos/sashadidukh/kaa/comments{/number}","issue_comment_url":"https://api.github.com/repos/sashadidukh/kaa/issues/comments{/number}","contents_url":"https://api.github.com/repos/sashadidukh/kaa/contents/{+path}","compare_url":"https://api.github.com/repos/sashadidukh/kaa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sashadidukh/kaa/merges","archive_url":"https://api.github.com/repos/sashadidukh/kaa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sashadidukh/kaa/downloads","issues_url":"https://api.github.com/repos/sashadidukh/kaa/issues{/number}","pulls_url":"https://api.github.com/repos/sashadidukh/kaa/pulls{/number}","milestones_url":"https://api.github.com/repos/sashadidukh/kaa/milestones{/number}","notifications_url":"https://api.github.com/repos/sashadidukh/kaa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sashadidukh/kaa/labels{/name}","releases_url":"https://api.github.com/repos/sashadidukh/kaa/releases{/id}","deployments_url":"https://api.github.com/repos/sashadidukh/kaa/deployments","created_at":"2016-04-04T13:30:52Z","updated_at":"2016-04-04T13:31:01Z","pushed_at":"2016-06-27T11:03:01Z","git_url":"git://github.com/sashadidukh/kaa.git","ssh_url":"git@github.com:sashadidukh/kaa.git","clone_url":"https://github.com/sashadidukh/kaa.git","svn_url":"https://github.com/sashadidukh/kaa","homepage":"http://www.kaaproject.org","size":134497,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kaaproject:develop","ref":"develop","sha":"16726a63fd5a7a2700753e339dd76f6ef34a9566","user":{"login":"kaaproject","id":6984613,"avatar_url":"https://avatars.githubusercontent.com/u/6984613?v=3","gravatar_id":"","url":"https://api.github.com/users/kaaproject","html_url":"https://github.com/kaaproject","followers_url":"https://api.github.com/users/kaaproject/followers","following_url":"https://api.github.com/users/kaaproject/following{/other_user}","gists_url":"https://api.github.com/users/kaaproject/gists{/gist_id}","starred_url":"https://api.github.com/users/kaaproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaaproject/subscriptions","organizations_url":"https://api.github.com/users/kaaproject/orgs","repos_url":"https://api.github.com/users/kaaproject/repos","events_url":"https://api.github.com/users/kaaproject/events{/privacy}","received_events_url":"https://api.github.com/users/kaaproject/received_events","type":"Organization","site_admin":false},"repo":{"id":17839346,"name":"kaa","full_name":"kaaproject/kaa","owner":{"login":"kaaproject","id":6984613,"avatar_url":"https://avatars.githubusercontent.com/u/6984613?v=3","gravatar_id":"","url":"https://api.github.com/users/kaaproject","html_url":"https://github.com/kaaproject","followers_url":"https://api.github.com/users/kaaproject/followers","following_url":"https://api.github.com/users/kaaproject/following{/other_user}","gists_url":"https://api.github.com/users/kaaproject/gists{/gist_id}","starred_url":"https://api.github.com/users/kaaproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaaproject/subscriptions","organizations_url":"https://api.github.com/users/kaaproject/orgs","repos_url":"https://api.github.com/users/kaaproject/repos","events_url":"https://api.github.com/users/kaaproject/events{/privacy}","received_events_url":"https://api.github.com/users/kaaproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kaaproject/kaa","description":"Kaa open-source middleware platform for building, managing, and integrating connected products with the Internet of Everything.","fork":false,"url":"https://api.github.com/repos/kaaproject/kaa","forks_url":"https://api.github.com/repos/kaaproject/kaa/forks","keys_url":"https://api.github.com/repos/kaaproject/kaa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kaaproject/kaa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kaaproject/kaa/teams","hooks_url":"https://api.github.com/repos/kaaproject/kaa/hooks","issue_events_url":"https://api.github.com/repos/kaaproject/kaa/issues/events{/number}","events_url":"https://api.github.com/repos/kaaproject/kaa/events","assignees_url":"https://api.github.com/repos/kaaproject/kaa/assignees{/user}","branches_url":"https://api.github.com/repos/kaaproject/kaa/branches{/branch}","tags_url":"https://api.github.com/repos/kaaproject/kaa/tags","blobs_url":"https://api.github.com/repos/kaaproject/kaa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kaaproject/kaa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kaaproject/kaa/git/refs{/sha}","trees_url":"https://api.github.com/repos/kaaproject/kaa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kaaproject/kaa/statuses/{sha}","languages_url":"https://api.github.com/repos/kaaproject/kaa/languages","stargazers_url":"https://api.github.com/repos/kaaproject/kaa/stargazers","contributors_url":"https://api.github.com/repos/kaaproject/kaa/contributors","subscribers_url":"https://api.github.com/repos/kaaproject/kaa/subscribers","subscription_url":"https://api.github.com/repos/kaaproject/kaa/subscription","commits_url":"https://api.github.com/repos/kaaproject/kaa/commits{/sha}","git_commits_url":"https://api.github.com/repos/kaaproject/kaa/git/commits{/sha}","comments_url":"https://api.github.com/repos/kaaproject/kaa/comments{/number}","issue_comment_url":"https://api.github.com/repos/kaaproject/kaa/issues/comments{/number}","contents_url":"https://api.github.com/repos/kaaproject/kaa/contents/{+path}","compare_url":"https://api.github.com/repos/kaaproject/kaa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kaaproject/kaa/merges","archive_url":"https://api.github.com/repos/kaaproject/kaa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kaaproject/kaa/downloads","issues_url":"https://api.github.com/repos/kaaproject/kaa/issues{/number}","pulls_url":"https://api.github.com/repos/kaaproject/kaa/pulls{/number}","milestones_url":"https://api.github.com/repos/kaaproject/kaa/milestones{/number}","notifications_url":"https://api.github.com/repos/kaaproject/kaa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kaaproject/kaa/labels{/name}","releases_url":"https://api.github.com/repos/kaaproject/kaa/releases{/id}","deployments_url":"https://api.github.com/repos/kaaproject/kaa/deployments","created_at":"2014-03-17T18:48:31Z","updated_at":"2016-06-29T04:05:59Z","pushed_at":"2016-06-29T12:29:53Z","git_url":"git://github.com/kaaproject/kaa.git","ssh_url":"git@github.com:kaaproject/kaa.git","clone_url":"https://github.com/kaaproject/kaa.git","svn_url":"https://github.com/kaaproject/kaa","homepage":"http://www.kaaproject.org","size":144764,"stargazers_count":306,"watchers_count":306,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":119,"mirror_url":null,"open_issues_count":21,"forks":119,"open_issues":21,"watchers":306,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kaaproject/kaa/pulls/746"},"html":{"href":"https://github.com/kaaproject/kaa/pull/746"},"issue":{"href":"https://api.github.com/repos/kaaproject/kaa/issues/746"},"comments":{"href":"https://api.github.com/repos/kaaproject/kaa/issues/746/comments"},"review_comments":{"href":"https://api.github.com/repos/kaaproject/kaa/pulls/746/comments"},"review_comment":{"href":"https://api.github.com/repos/kaaproject/kaa/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kaaproject/kaa/pulls/746/commits"},"statuses":{"href":"https://api.github.com/repos/kaaproject/kaa/statuses/011708cdf56bf82e128c6adda55a24838366b3d9"}}}}
{"actor":{"display_login":"Slash32"}}