{"action":"created","issue":{"url":"https://api.github.com/repos/logstash-plugins/logstash-input-twitter/issues/10","labels_url":"https://api.github.com/repos/logstash-plugins/logstash-input-twitter/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/logstash-plugins/logstash-input-twitter/issues/10/comments","events_url":"https://api.github.com/repos/logstash-plugins/logstash-input-twitter/issues/10/events","html_url":"https://github.com/logstash-plugins/logstash-input-twitter/issues/10","id":65959190,"number":10,"title":"[doc] provide an example","user":{"login":"dadoonet","id":274222,"avatar_url":"https://avatars.githubusercontent.com/u/274222?v=3","gravatar_id":"","url":"https://api.github.com/users/dadoonet","html_url":"https://github.com/dadoonet","followers_url":"https://api.github.com/users/dadoonet/followers","following_url":"https://api.github.com/users/dadoonet/following{/other_user}","gists_url":"https://api.github.com/users/dadoonet/gists{/gist_id}","starred_url":"https://api.github.com/users/dadoonet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dadoonet/subscriptions","organizations_url":"https://api.github.com/users/dadoonet/orgs","repos_url":"https://api.github.com/users/dadoonet/repos","events_url":"https://api.github.com/users/dadoonet/events{/privacy}","received_events_url":"https://api.github.com/users/dadoonet/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/logstash-plugins/logstash-input-twitter/labels/docs","name":"docs","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-02T16:05:50Z","updated_at":"2015-12-11T09:21:10Z","closed_at":null,"body":"As I hit that \"issue\", I think we should document the Twitter input with an example and also write clearly that Strings must be wrapped with `\"`.\r\n\r\nInstead of:\r\n\r\n```js\r\ntwitter {\r\n    consumer_key => ...\r\n    consumer_secret => ...\r\n    keywords => ...\r\n    oauth_token => ...\r\n    oauth_token_secret => ...\r\n}\r\n```\r\n\r\nwrite:\r\n\r\n```js\r\ntwitter {\r\n    consumer_key => \"...\"\r\n    consumer_secret => \"...\"\r\n    keywords => [ \"...\", \"...\" ]\r\n    oauth_token => \"...\"\r\n    oauth_token_secret => \"...\"\r\n}\r\n```\r\n\r\nor \r\n\r\n```js\r\ntwitter {\r\n    consumer_key => \"CONS_KEY\"\r\n    consumer_secret => \"CONS_SECRET\"\r\n    keywords => [ \"KEY1\", \"KEY2\" ] \r\n    oauth_token => \"OAUTH_TOKEN\"\r\n    oauth_token_secret => \"OAUTH_SECRET\"\r\n}\r\n```\r\n\r\nAlso, can we add a link to Twitter dev console so it's easy for users to set it up? https://dev.twitter.com/apps/new\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/logstash-plugins/logstash-input-twitter/issues/comments/163883820","html_url":"https://github.com/logstash-plugins/logstash-input-twitter/issues/10#issuecomment-163883820","issue_url":"https://api.github.com/repos/logstash-plugins/logstash-input-twitter/issues/10","id":163883820,"user":{"login":"mobcdi","id":3854701,"avatar_url":"https://avatars.githubusercontent.com/u/3854701?v=3","gravatar_id":"","url":"https://api.github.com/users/mobcdi","html_url":"https://github.com/mobcdi","followers_url":"https://api.github.com/users/mobcdi/followers","following_url":"https://api.github.com/users/mobcdi/following{/other_user}","gists_url":"https://api.github.com/users/mobcdi/gists{/gist_id}","starred_url":"https://api.github.com/users/mobcdi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mobcdi/subscriptions","organizations_url":"https://api.github.com/users/mobcdi/orgs","repos_url":"https://api.github.com/users/mobcdi/repos","events_url":"https://api.github.com/users/mobcdi/events{/privacy}","received_events_url":"https://api.github.com/users/mobcdi/received_events","type":"User","site_admin":false},"created_at":"2015-12-11T09:21:10Z","updated_at":"2015-12-11T09:21:10Z","body":"Maybe include `use_samples = > true` and some elastic, logstash accounts, tags and keywords to show `use_samples = > true` also disables those  "}}