{"action":"created","issue":{"url":"https://api.github.com/repos/couchbase/sync_gateway/issues/876","labels_url":"https://api.github.com/repos/couchbase/sync_gateway/issues/876/labels{/name}","comments_url":"https://api.github.com/repos/couchbase/sync_gateway/issues/876/comments","events_url":"https://api.github.com/repos/couchbase/sync_gateway/issues/876/events","html_url":"https://github.com/couchbase/sync_gateway/issues/876","id":79598878,"number":876,"title":"Perfcluster AWS: collect Sync Gateway and Gateload expvars and push to Splunk","user":{"login":"tleyden","id":296876,"avatar_url":"https://avatars.githubusercontent.com/u/296876?v=3","gravatar_id":"","url":"https://api.github.com/users/tleyden","html_url":"https://github.com/tleyden","followers_url":"https://api.github.com/users/tleyden/followers","following_url":"https://api.github.com/users/tleyden/following{/other_user}","gists_url":"https://api.github.com/users/tleyden/gists{/gist_id}","starred_url":"https://api.github.com/users/tleyden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tleyden/subscriptions","organizations_url":"https://api.github.com/users/tleyden/orgs","repos_url":"https://api.github.com/users/tleyden/repos","events_url":"https://api.github.com/users/tleyden/events{/privacy}","received_events_url":"https://api.github.com/users/tleyden/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"andreibaranouski","id":1714151,"avatar_url":"https://avatars.githubusercontent.com/u/1714151?v=3","gravatar_id":"","url":"https://api.github.com/users/andreibaranouski","html_url":"https://github.com/andreibaranouski","followers_url":"https://api.github.com/users/andreibaranouski/followers","following_url":"https://api.github.com/users/andreibaranouski/following{/other_user}","gists_url":"https://api.github.com/users/andreibaranouski/gists{/gist_id}","starred_url":"https://api.github.com/users/andreibaranouski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreibaranouski/subscriptions","organizations_url":"https://api.github.com/users/andreibaranouski/orgs","repos_url":"https://api.github.com/users/andreibaranouski/repos","events_url":"https://api.github.com/users/andreibaranouski/events{/privacy}","received_events_url":"https://api.github.com/users/andreibaranouski/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-05-22T20:33:45Z","updated_at":"2015-05-26T17:28:17Z","closed_at":"2015-05-26T17:28:17Z","body":"\r\nWe need something which will collect the expvars published at:\r\n\r\n* http://sync-gw:4985/_expvar\r\n* http://gateload:9876/debug/vars\r\n\r\nand push these to splunk somehow.  I believe how it works is this:\r\n\r\n* We register an \"input script\" with the splunk forwarder, which it calls based on a frequency that we specify in the config file (eg, once every 60 seconds)\r\n* It calls the input script and expects the result to be passed via stdout\r\n* It forwards the result to the splunk server\r\n* They probably provide a way to pass additional metadata, probably based on the configuration of that input script (next to the frequency)\r\n\r\nThe input script can be written in anything, and in fact it might be possible to just write a bash script that calls curl or wget.\r\n\r\nOtherwise, if that's not possible, it should probably be written in python."},"comment":{"url":"https://api.github.com/repos/couchbase/sync_gateway/issues/comments/105612012","html_url":"https://github.com/couchbase/sync_gateway/issues/876#issuecomment-105612012","issue_url":"https://api.github.com/repos/couchbase/sync_gateway/issues/876","id":105612012,"user":{"login":"andreibaranouski","id":1714151,"avatar_url":"https://avatars.githubusercontent.com/u/1714151?v=3","gravatar_id":"","url":"https://api.github.com/users/andreibaranouski","html_url":"https://github.com/andreibaranouski","followers_url":"https://api.github.com/users/andreibaranouski/followers","following_url":"https://api.github.com/users/andreibaranouski/following{/other_user}","gists_url":"https://api.github.com/users/andreibaranouski/gists{/gist_id}","starred_url":"https://api.github.com/users/andreibaranouski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreibaranouski/subscriptions","organizations_url":"https://api.github.com/users/andreibaranouski/orgs","repos_url":"https://api.github.com/users/andreibaranouski/repos","events_url":"https://api.github.com/users/andreibaranouski/events{/privacy}","received_events_url":"https://api.github.com/users/andreibaranouski/received_events","type":"User","site_admin":false},"created_at":"2015-05-26T17:28:16Z","updated_at":"2015-05-26T17:28:16Z","body":"@tleyden please check the commit"}}