Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- input {
- twitter {
- consumer_key => "xyzt"
- consumer_secret => "xyzt"
- oauth_token => "xyzt-xyzt"
- oauth_token_secret => "xyzt"
- keywords => ["dittach", "Dittach", "dittach.com", "Dittach.com"]
- full_tweet => true
- type => "dittach_tweet"
- }
- }
- output {
- if [type] == "error_log" {
- elasticsearch {
- host => localhost
- index => "error_logs-%{+YYYY.MM.dd}"
- }
- }
- else if [type] == "dittach_tweet"{
- elasticsearch {
- host => localhost
- index => "dittach_tweets-%{+YYYY.MM.dd}"
- }
- }
- else {
- elasticsearch {
- host => localhost
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement