title: Error with elasticsearch_http Logstash
body: <p>I'm trying to run this:</p>
  
  <pre><code>input {  
      twitter {
          # add your data
          consumer_key =&gt; "shhhhh"
          consumer_secret =&gt; "shhhhh"
          oauth_token =&gt; "shhhhh"
          oauth_token_secret =&gt; "shhhhh"
          keywords =&gt; ["words"]
          full_tweet =&gt; true
      }
  }
  output {  
      elasticsearch_http {
          host =&gt; "shhhhh"
          index =&gt; "idx_ls"
          index_type =&gt; "tweet_ls"
      }
  }
  </code></pre>
  
  <p>This is the error I got:</p>
  
  <pre><code>Sending Logstash's logs to /usr/local/Cellar/logstash/5.2.1/libexec/logs which is now configured via log4j2.properties
  [2017-02-24T04:48:03,060][ERROR][logstash.plugins.registry] Problems loading a plugin with {:type=&gt;"output", :name=&gt;"elasticsearch_http", :path=&gt;"logstash/outputs/elasticsearch_http", :error_message=&gt;"NameError", :error_class=&gt;NameError, :error_backtrace=&gt;["/usr/local/Cellar/logstash/5.2.1/libexec/logstash-core/lib/logstash/plugins/registry.rb:221:in `namespace_lookup'", "/usr/local/Cellar/logstash/5.2.1/libexec/logstash-core/lib/logstash/plugins/registry.rb:157:in `legacy_lookup'", "/usr/local/Cellar/logstash/5.2.1/libexec/logstash-core/lib/logstash/plugins/registry.rb:133:in `lookup'", "/usr/local/Cellar/logstash/5.2.1/libexec/logstash-core/lib/logstash/plugins/registry.rb:175:in `lookup_pipeline_plugin'", "/usr/local/Cellar/logstash/5.2.1/libexec/logstash-core/lib/logstash/plugin.rb:129:in `lookup'", "/usr/local/Cellar/logstash/5.2.1/libexec/logstash-core/lib/logstash/pipeline.rb:452:in `plugin'", "(eval):12:in `initialize'", "org/jruby/RubyKernel.java:1079:in `eval'", "/usr/local/Cellar/logstash/5.2.1/libexec/logstash-core/lib/logstash/pipeline.rb:98:in `initialize'", "/usr/local/Cellar/logstash/5.2.1/libexec/logstash-core/lib/logstash/agent.rb:246:in `create_pipeline'", "/usr/local/Cellar/logstash/5.2.1/libexec/logstash-core/lib/logstash/agent.rb:95:in `register_pipeline'", "/usr/local/Cellar/logstash/5.2.1/libexec/logstash-core/lib/logstash/runner.rb:264:in `execute'", "/usr/local/Cellar/logstash/5.2.1/libexec/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/command.rb:67:in `run'", "/usr/local/Cellar/logstash/5.2.1/libexec/logstash-core/lib/logstash/runner.rb:183:in `run'", "/usr/local/Cellar/logstash/5.2.1/libexec/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/command.rb:132:in `run'", "/usr/local/Cellar/logstash/5.2.1/libexec/lib/bootstrap/environment.rb:71:in `(root)'"]}
  [2017-02-24T04:48:03,073][ERROR][logstash.agent           ] fetched an invalid config {:config=&gt;"input {  \n    twitter {\n        # add your data\n        consumer_key =&gt; \"shhhhh\"\n        consumer_secret =&gt; \"Shhhhhh\"\n        oauth_token =&gt; \"shhhh\"\n        oauth_token_secret =&gt; \"shhhhh\"\n        keywords =&gt; [\"word\"]\n        full_tweet =&gt; true\n    }\n}\noutput {  \n    elasticsearch_http {\n        host =&gt; \"shhhhh.amazonaws.com\"\n        index =&gt; \"idx_ls\"\n        index_type =&gt; \"tweet_ls\"\n    }\n}\n", :reason=&gt;"Couldn't find any output plugin named 'elasticsearch_http'. Are you sure this is correct? Trying to load the elasticsearch_http output plugin resulted in this error: Problems loading the requested plugin named elasticsearch_http of type output. Error: NameError NameError"}
  </code></pre>
  
  <p>I've tried installing <code>elasticsearch_http</code> but it doesnt seem to be a package. Ive also tried </p>
  
  <p>logstash-plugin install logstash-input-elasticsearch
  and
  logstash-plugin install logstash-output-elasticsearch</p>
  
  <p>which did install but got the same error.</p>
  
  <p>Totally new to logstash so this might be very simple.
  I am Trying to follow this <a href="https://www.rittmanmead.com/blog/2015/08/three-easy-ways-to-stream-twitter-data-into-elasticsearch/" rel="nofollow noreferrer">https://www.rittmanmead.com/blog/2015/08/three-easy-ways-to-stream-twitter-data-into-elasticsearch/</a></p>
  
  <p>I tried Val's answer and got this:</p>
  
  <pre><code>[2017-02-24T05:12:45,385][WARN ][logstash.outputs.elasticsearch] Attempted to resurrect connection to dead ES instance, but got an error. {:url=&gt;#&lt;URI::HTTP:0x4c2332e0 URL:http://shhhhh:9200/&gt;, :error_type=&gt;LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError, :error=&gt;"Elasticsearch Unreachable: [http://sshhhhhh:9200/][Manticore::ConnectTimeout] connect timed out"}
  </code></pre>
  
  <p>I can go to the url and i get a response on browser and I it set open on permissions so Im not sure what the issue with that would be.</p>