# Logstash twiter input plugin error

**URL:** <https://discuss.elastic.co/t/logstash-twiter-input-plugin-error/113150>\
**Category:** Logstash\
**Created:** [December 25, 2017, 12:09pm UTC](https://discuss.elastic.co/t/logstash-twiter-input-plugin-error/113150 "2017-12-25T12:09:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amouzigh\_Driss](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/amouzigh_driss/32/25868_2.png) [@Amouzigh\_Driss](https://discuss.elastic.co/u/Amouzigh_Driss)\
**Post date:** [December 25, 2017, 12:09pm UTC](https://discuss.elastic.co/t/logstash-twiter-input-plugin-error/113150/1 "2017-12-25T12:09:43Z")

</div>

Hello guys,  
I'm using Logstash 6.1.0 and ElasticSearch 6.1.0.

I'm using testing logstash twitter input plugin with this configuration. (passwords from twitter dev API end ES configuration).

input {  
twitter {  
consumer\_key =\> "myConsumerKey"  
consumer\_secret =\> "myConsumerSecret"   
oauth\_token =\> "myauthtoken"  
oauth\_token\_secret =\> "myauthtokanesecret"  
keywords =\> ["keyword"]  
full\_tweet =\> true  
}  
}  
output {  
stdout { codec =\> rubydebug }  
elasticsearch {  
hosts =\> "[http://localhost:9200](http://localhost:9200)"  
user =\> "elastic"  
password =\> "password"  
index =\> "mytweets"  
}  
}

I have an error:  
[2017-12-25T11:59:36,253][WARN][logstash.inputs.twitter] Twitter client error {:message=\>"", :exception=\>"Twitter::Error::Unauthorized", :backtrace  
=\>["C:/appl/elk/logstash-6.1.0/vendor/bundle/jruby/2.3.0/gems/twitter-5.15.0/lib/twitter/streaming/response.rb:21:in `on_headers_complete'", "org/ruby _http_parser/RubyHttpParser.java:370:in`\<\<'", "C:/appl/elk/logstash-6.1.0/vendor/bundle/jruby/2.3.0/gems/twitter-5.15.0/lib/twitter/streaming/respons  
e.rb:16:in `<<'", "C:/appl/elk/logstash-6.1.0/vendor/bundle/jruby/2.3.0/gems/logstash-input-twitter-3.0.7/lib/logstash/inputs/twitter/patches.rb:31:in`stream'", "C:/appl/elk/logstash-6.1.0/vendor/bundle/jruby/2.3.0/gems/logstash-input-twitter-3.0.7/lib/logstash/inputs/twitter/patches.rb:58:in `requ est'", "C:/appl/elk/logstash-6.1.0/vendor/bundle/jruby/2.3.0/gems/twitter-5.15.0/lib/twitter/streaming/client.rb:37:in`filter'", "C:/appl/elk/logstas  
h-6.1.0/vendor/bundle/jruby/2.3.0/gems/logstash-input-twitter-3.0.7/lib/logstash/inputs/twitter.rb:138:in `run'", "C:/appl/elk/logstash-6.1.0/logstash -core/lib/logstash/pipeline.rb:524:in`inputworker'", "C:/appl/elk/logstash-6.1.0/logstash-core/lib/logstash/pipeline.rb:517:in `block in start\_input'  
"], :options=\>nil}

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 22, 2018, 12:10pm UTC](https://discuss.elastic.co/t/logstash-twiter-input-plugin-error/113150/2 "2018-01-22T12:10:10Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
