Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[doc] provide an example #10

Open
dadoonet opened this issue Apr 2, 2015 · 2 comments
Open

[doc] provide an example #10

dadoonet opened this issue Apr 2, 2015 · 2 comments
Labels

Comments

@dadoonet
Copy link

dadoonet commented Apr 2, 2015

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 ".

Instead of:

twitter {
    consumer_key => ...
    consumer_secret => ...
    keywords => ...
    oauth_token => ...
    oauth_token_secret => ...
}

write:

twitter {
    consumer_key => "..."
    consumer_secret => "..."
    keywords => [ "...", "..." ]
    oauth_token => "..."
    oauth_token_secret => "..."
}

or

twitter {
    consumer_key => "CONS_KEY"
    consumer_secret => "CONS_SECRET"
    keywords => [ "KEY1", "KEY2" ] 
    oauth_token => "OAUTH_TOKEN"
    oauth_token_secret => "OAUTH_SECRET"
}

Also, 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

@acchen97 acchen97 added the docs label Nov 9, 2015
@mobcdi
Copy link

mobcdi commented Dec 11, 2015

Maybe include use_samples = > true and some elastic, logstash accounts, tags and keywords to show use_samples = > true also disables those

@wathmal
Copy link

wathmal commented Apr 11, 2016

an example can be found in here. 😄
https://github.com/elastic/examples/tree/master/ELK_twitter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants